src.nth.io/

summaryrefslogtreecommitdiff
path: root/sdkconfig.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'sdkconfig.defaults')
-rw-r--r--sdkconfig.defaults6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdkconfig.defaults b/sdkconfig.defaults
index 1ba8375..a32a88e 100644
--- a/sdkconfig.defaults
+++ b/sdkconfig.defaults
@@ -51,3 +51,9 @@ CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
# Log level
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
+
+# OTA: dual-partition layout in partitions.csv. Rollback marks new
+# images as PENDING_VERIFY at first boot; ota_arm_healthy_timer flips
+# them to VALID after 30 s of healthy uptime, otherwise the bootloader
+# reverts to the previous slot on the next reset.
+CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y