Wireless stick Heltec FactoryTest fails to compile

The ‘error’:
Multiple libraries were found for “LoRaWan_APP.h”
Used: C:\Users\kangu\OneDrive\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards
Not used: C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.8\libraries\LoraWan102
exit status 1

Compilation error: no matching function for call to ‘McuClass::begin()’

After several hours and three different board with three different Factory_Test scripts:
Board Wireless Stick V3 V3.1
Arduino 2.3.6
I opened the example with Arduino, modified the WEB name and password then saved

Doing a compile Verify:
: fatal error: when writing output to nul: No such file or directory
compilation terminated.
exit status 1

Compilation error: exit status 1

Doing UPLOAD:
C:\Users\kangu\Documents\Arduino\Wireless_Stick_V3_FactoryTest_copy_20250808123545\Wireless_Stick_V3_FactoryTest_copy_20250808123545.ino: In function ‘void loop()’:
C:\Users\kangu\Documents\Arduino\Wireless_Stick_V3_FactoryTest_copy_20250808123545\Wireless_Stick_V3_FactoryTest_copy_20250808123545.ino:334:13: error: no matching function for call to ‘HardwareSerial::end(bool)’
334 | Serial.end(true);
In file included from C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/Arduino.h:200,
from C:\Users\kangu\Documents\Arduino\Wireless_Stick_V3_FactoryTest_copy_20250808123545\Wireless_Stick_V3_FactoryTest_copy_20250808123545.ino:25:
C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/HardwareSerial.h:256:8: note: candidate: ‘void HardwareSerial::end()’
256 | void end(void);
| ^~~
C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32/HardwareSerial.h:256:8: note: candidate expects 0 arguments, 1 provided
exit status 1

Compilation error: no matching function for call to ‘HardwareSerial::end(bool)’


ESP32 V3 first try"
C:\Users\kangu\AppData\Local\Temp\ccwjqR10.s: Assembler messages:
C:\Users\kangu\AppData\Local\Temp\ccwjqR10.s:41051: Error: junk at end of line, first unrecognized character is `.’
exit status 1

Compilation error: exit status 1

Second try:
Library Heltec ESP32 Dev-Boards has been declared precompiled:
Using precompiled library in c:\Users\kangu\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\esp32s3
c:/users/kangu/appdata/local/arduino15/packages/heltec-esp32/tools/esp-xs3/2302/bin/…/lib/gcc/xtensa-esp32s3-elf/12.2.0/…/…/…/…/xtensa-esp32s3-elf/bin/ld.exe: C:\Users\kangu\AppData\Local\arduino\sketches\29016CBE147ABD0E1F6A78A05E425BC5\sketch\WiFi_LoRa_32_V3_FactoryTest_V2.ino.cpp.o:(.literal._Z5setupv+0x8): undefined reference to `ex_32k_start_cnt’
collect2.exe: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

Wireless Sticklite V3 error 1
C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\libraries\Network\src\NetworkClient.cpp:674:1: fatal error: error writing to C:\Users\kangu\AppData\Local\Temp\cciIeaP0.s: No error
674 | }
| ^
compilation terminated.
exit status 1

Compilation error: exit status 1

Second try:

Library Heltec ESP32 Dev-Boards has been declared precompiled:
Using precompiled library in c:\Users\kangu\Documents\Arduino\libraries\Heltec_ESP32_Dev-Boards\src\esp32s3
during RTL pass: cprop
C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32\esp32-hal-adc.c: In function ‘analogContinuous’:
C:\Users\kangu\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\3.0.2\cores\esp32\esp32-hal-adc.c:578:1: internal compiler error: in try_forward_edges, at cfgcleanup.cc:580
578 | }
| ^
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See https://gcc.gnu.org/bugs/ for instructions.
exit status 1

Compilation error: exit status 1

NOTHING COMPILES!