]> granicus.if.org Git - esp-idf/commit
dport: Bigfix dport_read code move to IRAM
authorKonstantin Kondrashov <konstantin@espressif.com>
Mon, 21 May 2018 10:10:03 +0000 (15:10 +0500)
committerKonstantin Kondrashov <konstantin@espressif.com>
Mon, 21 May 2018 17:00:51 +0000 (22:00 +0500)
commite5b280f173a1bc02ce8966241fd49922e5edcaa5
treeea566857982b26c2a737b9477803cc551bd59662
parent0c64ef960097004583768142a25bb0e1420dbaac
dport: Bigfix dport_read code move to IRAM

A new method of workaround an error with DPORT is to ensure that the APB is read and followed by the DPORT register without interruptions and pauses. This fix places this implementation in the IRAM to exclude errors associated with the cache miss.
components/esp32/dport_access.c
components/esp32/include/esp_dport_access.h
components/soc/esp32/include/soc/dport_access.h