]> granicus.if.org Git - esp-idf/commit
dport access: Fix WDT bug (permanent locking) in non-pinned tasks
authorAngus Gratton <angus@espressif.com>
Wed, 16 Aug 2017 06:02:46 +0000 (16:02 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 25 Aug 2017 06:08:03 +0000 (16:08 +1000)
commitafb61195047d7eff2d54ebbb0a42e0becbbc04c4
tree328169f6cfa0e4fe1c0cbe3f0a77c941a7c51691
parent50e0a54630747f76c0d94455bf1a0d7a4908856a
dport access: Fix WDT bug (permanent locking) in non-pinned tasks

If scheduler switches cores in narrow window during esp_dport_access_stall_other_cpu_start(), could cause the stall
interrupt to occur on the running CPU - halting the CPU until WDT cleans up.

Related to https://github.com/espressif/esp-idf/issues/630
components/esp32/dport_access.c