feat(twai): Add twai linker.lf to control the placement of driver and hal

- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
This commit is contained in:
Planck (Lu Zeyu)
2023-08-07 10:21:47 +08:00
parent 7d87b6f47f
commit 7469f34948
4 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ else()
INCLUDE_DIRS ${includes}
PRIV_REQUIRES efuse esp_timer
REQUIRES esp_pm esp_ringbuf freertos soc hal esp_hw_support
LDFRAGMENTS linker.lf gptimer/linker.lf gpio/linker.lf)
LDFRAGMENTS linker.lf gptimer/linker.lf gpio/linker.lf twai/linker.lf)
endif()
# If system needs to monitor USJ connection status, then usb_serial_jtag_connection_monitor object file has to be linked