1
2[mapping:driver]
3archive: libdriver.a
4entries:
5    # TWAI workarounds that require periph_module_reset() won't work if cache is disabled due to the use of switch jump
6    # tables in periph_module_reset(). We prevent any part of periph_module_reset() (either text or RO data) from being
7    # placed in flash.
8    if TWAI_ISR_IN_IRAM = y  && (TWAI_ERRATA_FIX_RX_FRAME_INVALID = y || TWAI_ERRATA_FIX_RX_FIFO_CORRUPT = y):
9        periph_ctrl: periph_module_reset (noflash)
10