esp32, esp32s2: move startup code into esp_system

This commit is contained in:
Renz Bagaporo
2020-03-03 12:22:41 +08:00
committed by Angus Gratton
parent 62ef63e835
commit bb5535ca5d
12 changed files with 610 additions and 847 deletions

View File

@@ -69,7 +69,7 @@ void esp_brownout_init(void)
brownout_hal_config(&cfg);
ESP_ERROR_CHECK( rtc_isr_register(rtc_brownout_isr_handler, NULL, RTC_CNTL_BROWN_OUT_INT_ENA_M) );
rtc_isr_register(rtc_brownout_isr_handler, NULL, RTC_CNTL_BROWN_OUT_INT_ENA_M);
brownout_hal_intr_enable(true);
}