I recently moved from Arduino IDE to Eclipse.IDE 10.0
I’m using Eclipse CDT, and Arduino Sloeber v4
I’ve been able to compile and test several sketches on my Wifi Kit 32 with OLED, so basic setup is working.
However sometimes my board hangs during setup, after having called Heltec.begin. Reset does not help. To fix this, I must change a bit of the code and recompile. Seems to me like something is not quiet right in the settings, seems like a not initialized variable being used.
Note: I’ve been using the same sketch on Arduino IDE and this never happened.
Needless to say no errors or warnings in compiler and linker.
my setup code:
// init chipset
Heltec.begin(true /DisplayEnable Enable/, false /LoRa Enable/, true /Serial Enable/);
//logo();
Serial.begin(115200);
Serial.println("Initializing board");
output on serial COM when stuck:
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
Serial initial done
y
that last y is the last thing I get form the serial.
I’m using the heltec ESP32 libs 0.0.5.
Anyone faced this situation already?