mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-10 18:06:29 +00:00
soc: add hal api to set exception vector table base address
This commit is contained in:
@@ -113,10 +113,8 @@ void IRAM_ATTR call_start_cpu0(void)
|
||||
|
||||
bootloader_init_mem();
|
||||
|
||||
//Move exception vectors to IRAM
|
||||
asm volatile (\
|
||||
"wsr %0, vecbase\n" \
|
||||
::"r"(&_init_start));
|
||||
// Move exception vectors to IRAM
|
||||
cpu_hal_set_vecbase(&_init_start);
|
||||
|
||||
rst_reas = rtc_get_reset_reason(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user