1menu "Brownout Detector" 2 config ESP_BROWNOUT_DET 3 bool "Hardware brownout detect & reset" 4 depends on !IDF_ENV_FPGA 5 default y 6 help 7 The ESP32-H2 has a built-in brownout detector which can detect if the voltage is lower than 8 a specific value. If this happens, it will reset the chip in order to prevent unintended 9 behaviour. 10 11 choice ESP_BROWNOUT_DET_LVL_SEL 12 prompt "Brownout voltage level" 13 depends on ESP_BROWNOUT_DET 14 default ESP_BROWNOUT_DET_LVL_SEL_0 15 help 16 The brownout detector will reset the chip when the supply voltage is approximately 17 below this level. Note that there may be some variation of brownout voltage level 18 between each chip. 19 20 #The voltage levels here are estimates, more work needs to be done to figure out the exact voltages 21 #of the brownout threshold levels. 22 config ESP_BROWNOUT_DET_LVL_SEL_7 23 bool "2.94V" 24 config ESP_BROWNOUT_DET_LVL_SEL_6 25 bool "2.88V" 26 config ESP_BROWNOUT_DET_LVL_SEL_5 27 bool "2.83V" 28 config ESP_BROWNOUT_DET_LVL_SEL_4 29 bool "2.78V" 30 config ESP_BROWNOUT_DET_LVL_SEL_3 31 bool "2.73V" 32 config ESP_BROWNOUT_DET_LVL_SEL_2 33 bool "2.67V" 34 config ESP_BROWNOUT_DET_LVL_SEL_1 35 bool "2.62V" 36 config ESP_BROWNOUT_DET_LVL_SEL_0 37 bool "2.57V" 38 endchoice 39 40 config ESP_BROWNOUT_DET_LVL 41 int 42 default 0 if ESP_BROWNOUT_DET_LVL_SEL_0 43 default 1 if ESP_BROWNOUT_DET_LVL_SEL_1 44 default 2 if ESP_BROWNOUT_DET_LVL_SEL_2 45 default 3 if ESP_BROWNOUT_DET_LVL_SEL_3 46 default 4 if ESP_BROWNOUT_DET_LVL_SEL_4 47 default 5 if ESP_BROWNOUT_DET_LVL_SEL_5 48 default 6 if ESP_BROWNOUT_DET_LVL_SEL_6 49 default 7 if ESP_BROWNOUT_DET_LVL_SEL_7 50 51endmenu 52