ESP32 binary size too big? #3614
-
I was just trying to build the console example on libtock-rs for my ESP32-C3 board with 4MB of flash, but it seems like I need the 16MB one?! (8458352 bytes is over 8 MiB as well) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You could try to reduce the flash size in the linker script: https://github.com/tock/tock/blob/master/boards/esp32-c3-devkitM-1/layout.ld |
Beta Was this translation helpful? Give feedback.
-
Urgh. That's because platform_build in libtock-rs are using thumbv7em-none-eabi rather than riscv32imac-unknown-none-elf... Jokes aside I think we need to fix the documentation there. |
Beta Was this translation helpful? Give feedback.
Urgh. That's because platform_build in libtock-rs are using thumbv7em-none-eabi rather than riscv32imac-unknown-none-elf...
Jokes aside I think we need to fix the documentation there.