You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using PlatformIO to compile for the WEMOS D1 mini Pro will cause a crash after reaching end of setup(). The following sketch works fine in Arduino IDE but not in PlatformIO CLion:
After adding build_type = debug and monitor_filters = esp8266_exception_decoder I have gotten the following from Serial monitor (it gets repeated infinitely):
Setup started
Setup completed
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (28):
epc1=0x40201060 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000010 depc=0x00000000
LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads
epc1=0x40201060 in setup at ??:?
>>>stack>>>
ctx: cont
sp: 3ffffe00 end: 3fffffc0 offset: 0190
3fffff90: 3fffdad0 00000000 3ffee4e8 40201060
3fffffa0: feefeffe feefeffe 3ffe85d8 40201af7
3fffffb0: feefeffe feefeffe feefeffe 40100d61
<<<stack<<<
0x40201060 in setup at ??:?
0x40201af7 in loop_wrapper() at core_esp8266_main.cpp:?
0x40100d61 in cont_wrapper at C:\Users\user\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/cont.S:81
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00042630
~ld
According to some googling this means the heap is full and the device ran out of memory, but I don't see how is that possible with a simple blink sketch and why does it work fine in Arduino IDE
The text was updated successfully, but these errors were encountered:
Using PlatformIO to compile for the WEMOS D1 mini Pro will cause a crash after reaching end of setup(). The following sketch works fine in Arduino IDE but not in PlatformIO CLion:
Expected behaviour (this happens in Arduino IDE):
Prints "Setup started" and "Setup completed" to Serial monitor then blinks builtin led
Actual behaviour:
Prints "Setup started" and "Setup completed" to Serial monitor then resets with cause 2
platformio.ini:
After adding
build_type = debug
andmonitor_filters = esp8266_exception_decoder
I have gotten the following from Serial monitor (it gets repeated infinitely):According to some googling this means the heap is full and the device ran out of memory, but I don't see how is that possible with a simple blink sketch and why does it work fine in Arduino IDE
The text was updated successfully, but these errors were encountered: