kopia lustrzana https://github.com/espressif/esp-idf
esp32: Move esp_crosscore_int_send_yield() to IRAM
rodzic
a65944a8cb
commit
10c2e984dc
|
@ -82,7 +82,7 @@ void esp_crosscore_int_init() {
|
|||
assert(err == ESP_OK);
|
||||
}
|
||||
|
||||
void esp_crosscore_int_send_yield(int coreId) {
|
||||
void IRAM_ATTR esp_crosscore_int_send_yield(int coreId) {
|
||||
assert(coreId<portNUM_PROCESSORS);
|
||||
//Mark the reason we interrupt the other CPU
|
||||
portENTER_CRITICAL(&reasonSpinlock);
|
||||
|
|
Ładowanie…
Reference in New Issue