mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
Reduces ESP32_GENERIC_C6 application flash size from 2024432 to 1813216 (206KB smaller). Also has benefit of reducing D/IRAM size, increasing free memory at runtime (167187 to 148584, -18603 bytes). Most of this savings comes from building with -Os instead of -O2, but about 10KB comes from using the SPI flash functions from the ROM. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
9 lines
152 B
CMake
9 lines
152 B
CMake
set(IDF_TARGET esp32c6)
|
|
|
|
set(SDKCONFIG_DEFAULTS
|
|
boards/sdkconfig.base
|
|
boards/sdkconfig.riscv
|
|
boards/sdkconfig.c6
|
|
boards/sdkconfig.ble
|
|
)
|