Skip to content

Commit 432c5df

Browse files
LaurentiuM1234dleach02
authored andcommitted
mcux: hal_nxp: Add option for compiling the EDMA rev2 driver
The Zephyr EDMA driver requires the NXP HAL EDMA rev2 driver to also be compiled. As such, add an option inside hal_nxp.cmake which will compile the NXP HAL EDMA rev2 driver if CONFIG_DMA_NXP_EDMA is set to "y". Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
1 parent 919d067 commit 432c5df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcux/hal_nxp.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ include_driver_ifdef(CONFIG_DMA_MCUX_SMARTDMA smartdma driver_lpc_smartdma)
215215
include_driver_ifdef(CONFIG_DAC_MCUX_LPDAC dac_1 driver_dac_1)
216216
include_driver_ifdef(CONFIG_NXP_IRQSTEER irqsteer driver_irqsteer)
217217
include_driver_ifdef(CONFIG_AUDIO_DMIC_MCUX dmic driver_dmic)
218+
include_driver_ifdef(CONFIG_DMA_NXP_EDMA edma driver_edma_rev2)
218219

219220
if ((${MCUX_DEVICE} MATCHES "MIMXRT1[0-9][0-9][0-9]") AND (NOT (CONFIG_SOC_MIMXRT1166_CM4 OR CONFIG_SOC_MIMXRT1176_CM4)))
220221
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/armv7-m7 driver_cache_armv7_m7)

0 commit comments

Comments
 (0)