mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
cpu/esp_common: add ESP32-S2 support in module esp_xtensa
This commit is contained in:
parent
06bb755c03
commit
14edc937bf
@ -286,7 +286,7 @@ void IRAM_ATTR thread_yield_higher(void)
|
||||
ets_soft_int_type = ETS_SOFT_INT_YIELD;
|
||||
WSR(BIT(ETS_SOFT_INUM), interrupt);
|
||||
critical_exit();
|
||||
#elif defined(DPORT_CPU_INTR_FROM_CPU_0_REG)
|
||||
#elif defined(CPU_FAM_ESP32)
|
||||
/* generate the software interrupt to switch the context */
|
||||
DPORT_WRITE_PERI_REG(DPORT_CPU_INTR_FROM_CPU_0_REG, DPORT_CPU_INTR_FROM_CPU_0);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user