Core panic on Serial2.begin() Wireless Stick Lite

Hello,

This simple sketch crashes at Serial2.begin().
Board: Wireless Stick Lite.

#include <heltec.h>

void setup() {
Heltec.begin(false /DisplayEnable Enable/, true /LoRa Disable/, true /Serial Enable/, true /PABOOST Enable/, 868E6 /**/);
Serial.begin(115200);
Serial.println(“hello”);
Serial2.begin(57600, SERIAL_8N1, 16, 17);
Serial.println(“again”);
}
// the loop routine runs over and over again forever
void loop() {
}

Output from Serial Monitor:

;⸮⸮U⸮⸮⸮2-hal-cpu.c:178] setCpuFrequencyMhz(): PLL: 320 / 4 = 80 Mhz, APB: 80000000 Hz
Serial initial done
Lhello
Guru Meditation Error: Core 1 panic’ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400d1fe8: ffffffff ffffffff ffffffff
Core 1 register dump:
PC : 0x400d1fec PS : 0x00060130 A0 : 0x800d279d A1 : 0x3ffb1f20
A2 : 0x3ffc03f0 A3 : 0x3f400efe A4 : 0x00000005 A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x800d25a8 A9 : 0x3ffb1ea0
A10 : 0x3ffbec18 A11 : 0x3f400efe A12 : 0x00000005 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000000f EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffe

Backtrace: 0x400d1fec:0x3ffb1f20 0x400d279a:0x3ffb1f40 0x400d27d5:0x3ffb1f60 0x400d0cc1:0x3ffb1f80 0x400d2c2b:0x3ffb1fb0 0x40088215:0x3ffb1fd0

Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6352
entry 0x400806b8
;⸮⸮U⸮⸮⸮2-hal-cpu.c:178] setCpuFrequencyMhz(): PLL: 320 / 4 = 80 Mhz, APB: 80000000 Hz
Serial initial done

Output from Exception Decoder:

PC: 0x400d1fec: uartWriteBuf at C:\Users\Marek\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.4\cores\esp32\ esp32-hal-uart.c line 316 EXCVADDR: 0x00000000 Decoding stack results 0x400d1fec: uartWriteBuf at C:\Users\Marek\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.4\cores\esp32\ esp32-hal-uart.c line 316 0x400d279a: Print::write(char const)* at C:\Users\Marek\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.4\cores\esp32/ Print.h line 66 0x400d27d5: Print::println(char const)* at C:\Users\Marek\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.4\cores\esp32\ Print.cpp line 89 0x400d0cc1: setup() at e:\Users\Marek\Documents\Arduino\heltec\wireless-stick-lite\minimal/ minimal.ino line 10 0x400d2c2b: loopTask(void)* at C:\Users\Marek\AppData\Local\Arduino15\packages\Heltec-esp32\hardware\esp32\0.0.4\cores\esp32\ main.cpp line 14 0x40088215: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/ port.c line 143

Could someone please help me to solve this?
Thx!

Seems you chooseen an error board type.

https://heltec-automation-docs.readthedocs.io/en/latest/esp32/frequently_asked_questions.html#system-reset-all-the-time