mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
esp32c3: Adds support BROWNOUT reset
This commit is contained in:
@@ -78,9 +78,8 @@ menu "ESP32C3-Specific"
|
||||
e.g. GCOV data dump.
|
||||
|
||||
config ESP32C3_BROWNOUT_DET
|
||||
# TODO ESP32-C3 IDF-2397
|
||||
bool
|
||||
default n
|
||||
default y
|
||||
help
|
||||
The ESP32-S3 has a built-in brownout detector which can detect if the voltage is lower than
|
||||
a specific value. If this happens, it will reset the chip in order to prevent unintended
|
||||
@@ -93,29 +92,26 @@ menu "ESP32C3-Specific"
|
||||
help
|
||||
The brownout detector will reset the chip when the supply voltage is approximately
|
||||
below this level. Note that there may be some variation of brownout voltage level
|
||||
between each ESP3-S3 chip.
|
||||
between each chip.
|
||||
|
||||
#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
|
||||
#of the brownout threshold levels.
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_7
|
||||
bool "2.44V"
|
||||
bool "2.51V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_6
|
||||
bool "2.56V"
|
||||
bool "2.64V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_5
|
||||
bool "2.67V"
|
||||
bool "2.76V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_4
|
||||
bool "2.84V"
|
||||
bool "2.92V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_3
|
||||
bool "2.98V"
|
||||
bool "3.10V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_2
|
||||
bool "3.19V"
|
||||
config ESP32C3_BROWNOUT_DET_LVL_SEL_1
|
||||
bool "3.30V"
|
||||
bool "3.27V"
|
||||
endchoice
|
||||
|
||||
config ESP32C3_BROWNOUT_DET_LVL
|
||||
int
|
||||
default 1 if ESP32C3_BROWNOUT_DET_LVL_SEL_1
|
||||
default 2 if ESP32C3_BROWNOUT_DET_LVL_SEL_2
|
||||
default 3 if ESP32C3_BROWNOUT_DET_LVL_SEL_3
|
||||
default 4 if ESP32C3_BROWNOUT_DET_LVL_SEL_4
|
||||
|
Reference in New Issue
Block a user