Memory usage in ESP32-C3-DevKitM-1 #12322
Replies: 2 comments 2 replies
-
This output is listing the usage of the partitions in the firmware. See https://github.com/micropython/micropython/blob/master/ports/esp32/partitions-4MiB.csv Notably, the "vfs" partition (which is 2MiB) is not included here (as it's not included in the firmware image as it needs to persist across firmware updates). So in summary: you have ~1.3 MiB of code (leaving 604 kiB) of the roughly 2MiB of flash used for code. The remaining 2MiB is used for the filesystem. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer! If I add modules in c or frozen Python code, could I get to occupy more leaving the filesystem with less than 2mb? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am building for an ESP32-C3-DevKitM-1, choosing GENERIC_C3 as BOARD at compile time. The output of the compilation is:
So I don't understand the remaining memory since it doesn't seem to reach the 4MB that the ESP32-C3-MINI-1 has. Where is configured how much memory flash has in MicroPython? How is the message in the output of make interpreted?
Beta Was this translation helpful? Give feedback.
All reactions