From a6e7c4a550fad8953c4875ebe9eb9ba30b06f150 Mon Sep 17 00:00:00 2001 From: Sebastien Vayrette Date: Mon, 20 Apr 2026 18:11:07 -0400 Subject: [PATCH] fix: disable brownout detection in balance sdkconfig.defaults (bd-66hx) The gc9a01 display SPI initialization causes a ~50mA current transient that trips the brownout detector, causing a boot loop. The bd-66hx power supply needs decoupling improvement; disabling brownout is the software workaround until hardware is reworked. Also discovered the previous sdkconfig was manually corrupted (wrong partition table, USB JTAG console instead of UART, Memprot lock enabled). Deleting sdkconfig and regenerating from sdkconfig.defaults restores the correct OTA partition table, UART0 console, and proper rollback config. Co-Authored-By: Claude Sonnet 4.6 --- esp32s3/balance/sdkconfig.defaults | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esp32s3/balance/sdkconfig.defaults b/esp32s3/balance/sdkconfig.defaults index f4506fb..348d76e 100644 --- a/esp32s3/balance/sdkconfig.defaults +++ b/esp32s3/balance/sdkconfig.defaults @@ -17,3 +17,7 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_OTA_ALLOW_HTTP=y CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP=y CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y + +# bd-66hx hardware: disable brownout detection — power supply dips during SPI/init +# The gc9a01 display SPI init causes ~50mA transient that trips level-0 brownout +CONFIG_ESP_BROWNOUT_DET=n