]> granicus.if.org Git - esp-idf/commitdiff
esp32: Move esp_crosscore_int_send_yield() to IRAM
authorMarcin Galczynski <marcin@galczynski.pl>
Tue, 17 Jan 2017 17:20:17 +0000 (18:20 +0100)
committerAngus Gratton <angus@espressif.com>
Tue, 14 Feb 2017 04:55:16 +0000 (15:55 +1100)
components/esp32/crosscore_int.c

index 1e131eeef714d8d657f6015ff6bba5b440165e10..f75f0eba7dbf382954524d56e6280826d3a06037 100644 (file)
@@ -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);