Browse Source

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>
pull/11914/head
Damien George 1 year ago
parent
commit
2c67671651
  1. 3
      ports/esp32/boards/GENERIC_OTA/sdkconfig.board

3
ports/esp32/boards/GENERIC_OTA/sdkconfig.board

@ -1,3 +1,6 @@
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

Loading…
Cancel
Save