ESP32: 1.26 preview, MICROPY_ROM_TEXT_COMPRESSION and large increase of micropython.bin
size with ulab
#17225
Replies: 1 comment
-
not resolved. Seems to be resolved by 20250513. updates to Using IDF 5.4.1 and compiling for ESP32_GENERIC_S3 board with SPIRAM_OCT variant Build command (just pulled latest ulab repo into
Two runs. First set
Without ulab there is a noticeable decrease (few thousand bytes) in image size using compression. Results are similar for both S3 and C3. I wondered if the number of symbols in the external ulab module created a problem, or if the ulab code needs to be updated for v1.26. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the latest release (30 Apr 2025) when I compiled an ESP32S3 with ulab the size of micropython.bin exceeded significantly the app partition size. This changed after 1.25.0 release. I do not understand what the
MICROPY_ROM_TEXT_COMPRESSION
parameter does.The size of micropython.bin increase by 1_300_160 bytes (about 70%) and the size of micropython.elf increased by 4_714_700 bytes. If I build without USER_C_MODULES there is not a significant increase in size. If I include significantly smaller/simpler USER_C_MODULES I did not notice a large size change. This happens with both the GENER)C_S3 and GENERIC_C3 builds, I do not know if it is
micropython
orulab
code that is impacted.The diff of the modified cmake file is:
Beta Was this translation helpful? Give feedback.
All reactions