MP 1.17 + ulab = too big for TinyPICO?
Posted: Mon Oct 18, 2021 8:56 am
I'm trying to compile MicroPython 1.17 with ulab on a TinyPICO (BOARD = UM_TINYPICO). Without removing anything from ulab, I get the following message:
After removing everything I can think of from ulab, my firmware is still too big:
What are my options at this point? Can I easily disable some libraries from MicroPython itself? Can I tell the compiler to use more of the 4MB available (I think) on the ESP32-PICO-D4?
Code: Select all
Project build complete. To flash, run this command:
/Users/mathieu/.espressif/python_env/idf4.1_py3.9_env/bin/python ../../esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 80m 0x1000 build-UM_TINYPICO/bootloader/bootloader.bin 0x8000 build-UM_TINYPICO/partition_table/partition-table.bin 0x10000 build-UM_TINYPICO/micropython.bin
or run 'idf.py -p (PORT) flash'
bootloader @0x001000 22144 ( 6528 remaining)
partitions @0x008000 3072 ( 1024 remaining)
application @0x010000 1695568 ( -122704 remaining)
ERROR: application overflows allocated space of 1572864 bytes by 122704 bytes
make: *** [all] Error 1
Code: Select all
ERROR: application overflows allocated space of 1572864 bytes by 65664 bytes