mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
components/esp32,bootloader: fix build
esp32: use new register name in cpu_start bootloader: EXTRA_CFLAGS don't work any more, set global CFLAGS in Makefile.projbuild
This commit is contained in:
@@ -67,7 +67,7 @@ static bool app_cpu_started = false;
|
||||
void IRAM_ATTR call_user_start_cpu0()
|
||||
{
|
||||
//Kill wdt
|
||||
REG_CLR_BIT(RTC_WDTCONFIG0, RTC_CNTL_WDT_FLASHBOOT_MOD_EN);
|
||||
REG_CLR_BIT(RTC_CNTL_WDTCONFIG0_REG, RTC_CNTL_WDT_FLASHBOOT_MOD_EN);
|
||||
REG_CLR_BIT(0x6001f048, BIT(14)); //DR_REG_BB_BASE+48
|
||||
|
||||
cpu_configure_region_protection();
|
||||
|
Reference in New Issue
Block a user