summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-08-07 12:17:09 +1000
committerDamien George <damien@micropython.org>2024-08-16 13:21:04 +1000
commite71a324c149b0b03c3ad6080aab1719916ed68af (patch)
treedb2b99ea3a1dca0e129f08a97a2544176fa2af23
parent0a11832cddbeed57bf0267afa0c833584817312d (diff)
esp32: Restore ESP32-C3 brownout detector settings to IDF defaults.
Commit a66bd7a48925d318e1dd6ada756df947ffacdc12 added the ESP32_GENERIC_C3_USB board (now merged with ESP32_GENERIC_C3) and changed the brownout detector from the default level 7 (~2.51V) to level 4 (~2.92V). Raising the level again seems to fix random BOD resets on some of the cheaper ESP32-C3 dev boards (that likely skimp on power supply capacitance). Specifically, this change prevents random resets running multi_bluetooth tests on ESP32-C3 "SuperMini" board. Also removed from the LOLIN_C3_MINI board as it seems this config is a copy of the generic one. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
-rw-r--r--ports/esp32/boards/ESP32_GENERIC_C3/sdkconfig.c3usb4
-rw-r--r--ports/esp32/boards/LOLIN_C3_MINI/sdkconfig.board4
2 files changed, 0 insertions, 8 deletions
diff --git a/ports/esp32/boards/ESP32_GENERIC_C3/sdkconfig.c3usb b/ports/esp32/boards/ESP32_GENERIC_C3/sdkconfig.c3usb
index 9e75d07de..44838c534 100644
--- a/ports/esp32/boards/ESP32_GENERIC_C3/sdkconfig.c3usb
+++ b/ports/esp32/boards/ESP32_GENERIC_C3/sdkconfig.c3usb
@@ -1,5 +1 @@
CONFIG_ESP32C3_REV_MIN_3=y
-CONFIG_ESP32C3_BROWNOUT_DET=y
-CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_7=
-CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_4=y
-CONFIG_ESP32C3_BROWNOUT_DET_LVL=4
diff --git a/ports/esp32/boards/LOLIN_C3_MINI/sdkconfig.board b/ports/esp32/boards/LOLIN_C3_MINI/sdkconfig.board
index 9e75d07de..44838c534 100644
--- a/ports/esp32/boards/LOLIN_C3_MINI/sdkconfig.board
+++ b/ports/esp32/boards/LOLIN_C3_MINI/sdkconfig.board
@@ -1,5 +1 @@
CONFIG_ESP32C3_REV_MIN_3=y
-CONFIG_ESP32C3_BROWNOUT_DET=y
-CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_7=
-CONFIG_ESP32C3_BROWNOUT_DET_LVL_SEL_4=y
-CONFIG_ESP32C3_BROWNOUT_DET_LVL=4