optimize esp32 release binary size: 1.7MB -> 1.1MB

This commit is contained in:
2026-06-19 13:13:23 +02:00
parent b964801765
commit 27c1fe3f37
2 changed files with 17 additions and 0 deletions

View File

@@ -19,3 +19,10 @@ CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
CONFIG_ESP_TASK_WDT_TIMEOUT_S=30
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=n
# Disable Bluetooth (unused)
CONFIG_BT_ENABLED=n
# Reduce log verbosity
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_LOG_MAXIMUM_LEVEL_INFO=y