platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

Is there an Arduino framework for the ESP32-S module?

Open hzhh110 opened this issue 4 years ago • 7 comments

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [== ] 18.3% (used 59812 bytes from 327680 bytes) Flash: [==========] Error: The program size (1442010 bytes) is greater than maximum allowed (1310720 bytes)

platformio.ini [env:nodemcu-32s] platform = espressif32 board = nodemcu-32s framework = arduino

hzhh110 avatar Apr 02 '20 03:04 hzhh110

Hi @hzhh110 ! It looks like the default partition table is not suitable for your project. You can try other options, for example huge_app.csv. More info here.

BTW, does it work in Arduino IDE?

valeros avatar Apr 02 '20 09:04 valeros

image image

How should I configure the partition? Mine is esp32-s 36m flash!

hzhh110 avatar Apr 18 '20 06:04 hzhh110

esp32s 用 board_build.partitions = default.csv

hzhh110 avatar Apr 18 '20 08:04 hzhh110

default_16MB.csv,Now the chip is 32m, how to set it better?

hzhh110 avatar Apr 18 '20 08:04 hzhh110

I am also now getting this after adding a few more functions to my code. ESP32 4 Meg of Flash. Using PlatformIO. Core 5.0.1 Home 3.3.0 [env:esp32dev] platform = espressif32 board = esp32dev framework = arduino

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [== ] 18.7% (used 61132 bytes from 327680 bytes) Error: The program size (1514324 bytes) is greater than maximum allowed (1310720 bytes) Flash: [====*** [checkprogsize] Explicit exit, status 1 ======] 115.5% (used 1514324 bytes from 1310720 bytes) Capture

I would appreciate any help on how I might be able to address this - if it is possible . I can change board_build.partitions = huge_app.csv and RAM: [== ] 18.7% (used 61132 bytes from 327680 bytes) Flash: [===== ] 48.1% (used 1514324 bytes from 3145728 bytes)

but I do not know what I might be losing by using huge_app.csv ?

davidkjackson54 avatar Sep 16 '20 00:09 davidkjackson54

Hey @davidkjackson54, I don't know if you still need help but if I am correct using huge_app.csv adds flashspace by taking space reserved for over the air programming. So if you are not using this feature you are losing nothing.

DennisSchm avatar Sep 16 '21 20:09 DennisSchm

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 21:07 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 08 '22 22:09 stale[bot]