Xinyuan-LilyGO / T-Display-S3

MIT License
729 stars 172 forks source link

Using the PCBDesignClock example compiles but there is not enough memory on device to run? #256

Closed fromutome closed 3 weeks ago

fromutome commented 3 weeks ago

The example code PCBDesignClock compiles with Arduino IDE but after that the erro below say that program memory space is to large. I have not changed anything in the code.

Are there LilyGO T-display S3 devices with different size of memory? Am using the LilyGO T-Display S3 in the board selection in the Ardiono IDE. When using the board info function in arduino it says it's a ESP32-S3 Box?

Best Regards //Johan

Sketch uses 3147449 bytes (100%) of program storage space. Maximum is 3145728 bytes. Global variables use 47104 bytes (14%) of dynamic memory, leaving 280576 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

lewisxhe commented 3 weeks ago

Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)

fromutome commented 3 weeks ago

Thanks for the suggestion but that partition scheme is not availble on my installation/configuration. How can I enable this option?

image

teastainGit commented 3 weeks ago

They have screwed up with their new board def! Use ESP32S3 Dev Module board def and select Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)

Screenshot 2024-06-04 at 3 56 58 PM
fromutome commented 3 weeks ago

Thanks! that solved the issue :)