mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 12:25:03 +02:00
esp32c3: Adds support BROWNOUT reset
This commit is contained in:
@@ -242,7 +242,10 @@ static void do_core_init(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if CONFIG_ESP32_BROWNOUT_DET || CONFIG_ESP32S2_BROWNOUT_DET
|
||||
#if CONFIG_ESP32_BROWNOUT_DET || \
|
||||
CONFIG_ESP32S2_BROWNOUT_DET || \
|
||||
CONFIG_ESP32S3_BROWNOUT_DET || \
|
||||
CONFIG_ESP32C3_BROWNOUT_DET
|
||||
// [refactor-todo] leads to call chain rtc_is_register (driver) -> esp_intr_alloc (esp32/esp32s2) ->
|
||||
// malloc (newlib) -> heap_caps_malloc (heap), so heap must be at least initialized
|
||||
esp_brownout_init();
|
||||
|
||||
Reference in New Issue
Block a user