]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/crosscore_int_iram' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 11 Jan 2017 04:07:43 +0000 (12:07 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 11 Jan 2017 04:07:43 +0000 (12:07 +0800)
commit919bb747f80ddf93dd572fb466f8b4ea7c08b1ca
tree83b14a9191b341e5f39cc8418fbc7e77bded018d
parent8c26dd8d3805f4d8c2610cf51c7a3464b7a1ef7f
parenta2e0c2432e4874a0346aa587885657217e965fcb
Merge branch 'bugfix/crosscore_int_iram' into 'master'

Place cross-core interrupt into IRAM, sanity check handler address passed into esp_intr_alloc

Cross-core interrupt handler was not marked with IRAM_ATTR.

The reason why this caused an exception is probably due to some tasks running at highest priority (these are not blocked by spi_flash_disable_caches_interrupts_and_other_cpu mechanism).

This change puts the interrupt handler into IRAM and adds a sanity check into `esp_intr_alloc`.

Reported on Github: https://github.com/espressif/esp-idf/issues/211

See merge request !404