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
I'm trying to run the demo sketch on a NodeMCU-32S with 4MB of RAM. However, when I try to compile, I get the following error:
Error: The program size (1485357 bytes) is greater than maximum allowed (1310720 bytes)
RAM: [== ] 18.6% (used 61044 bytes from 327680 bytes)
Flash: [==========] 113.3% (use*** [checkprogsize] Explicit exit, status 1
d 1485357 bytes from 1310720 bytes)
The code I've used is straight from the main Readme:
Also tried this on the Arduino IDE, and get the following error:
Sketch uses 1453269 bytes (110%) of program storage space. Maximum is 1310720 bytes.
Global variables use 61052 bytes (18%) of dynamic memory, leaving 266628 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board
Compilation error: text section exceeds available space in board
I'm honestly not sure what could be causing the difference, especially because you mentioned the same thing happening in the Arduino IDE. Could there be any global optimization settings in PlatformIO? Which operating system are you using (Windows here)?
Hi,
I'm trying to run the demo sketch on a NodeMCU-32S with 4MB of RAM. However, when I try to compile, I get the following error:
The code I've used is straight from the main Readme:
platformio.ini is:
Can you please help
The text was updated successfully, but these errors were encountered: