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/);
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
mode:DIO, clock div:1
Serial initial done
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?