micropython/ports/esp32/boards/GENERIC_OTA/sdkconfig.board
Damien George 2c67671651 esp32/boards/GENERIC_OTA: Enable silent checks to reduce firmware size.
Enabling mDNS put this firmware over the limit of the OTA partition size,
so tweak the compiler settings to reduce the firmware size.

Signed-off-by: Damien George <damien@micropython.org>
2023-07-12 00:12:13 +10:00

7 lines
230 B
Plaintext

CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-ota.csv"
# Reduce firmware size to fit in the OTA partition.
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y