TWAI: ISR runs when cache is disabled

This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
This commit is contained in:
Darian Leung
2020-08-04 12:52:10 +08:00
parent eb83878323
commit 4c57f50fe4
8 changed files with 293 additions and 159 deletions

View File

@@ -15,3 +15,7 @@ entries:
soc_hal (noflash)
wdt_hal_iram (noflash)
systimer_hal (noflash)
if TWAI_ISR_IN_IRAM = y:
twai_hal_iram (noflash)
else:
twai_hal_iram (default)