diff options
| author | Damien George <damien@micropython.org> | 2023-11-23 10:39:12 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-11-23 10:39:12 +1100 |
| commit | a85c3c45a6edc75da649492092e5ffdafae55d6a (patch) | |
| tree | 1de260c673d07aee2a08220fa82c435a96592f58 | |
| parent | a800ed5ae34f8a9bbe075e007de55109f33c7592 (diff) | |
esp32/boards/ESP32_GENERIC: Reduce size of D2WD variant to fit in flash.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/esp32/boards/ESP32_GENERIC/sdkconfig.d2wd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/esp32/boards/ESP32_GENERIC/sdkconfig.d2wd b/ports/esp32/boards/ESP32_GENERIC/sdkconfig.d2wd index f6e07893e..2ac983693 100644 --- a/ports/esp32/boards/ESP32_GENERIC/sdkconfig.d2wd +++ b/ports/esp32/boards/ESP32_GENERIC/sdkconfig.d2wd @@ -3,6 +3,10 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_COMPILER_OPTIMIZATION_PERF=n CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y +# Change maximum log level to error, to reduce firmware size. +CONFIG_LOG_MAXIMUM_LEVEL_ERROR=y +CONFIG_LOG_MAXIMUM_LEVEL_INFO=n + # Disable SPI Ethernet driver to reduce firmware size. CONFIG_ETH_USE_SPI_ETHERNET=n |
