Skip to content

Commit

Permalink
mcux: hal_nxp: include HAL ESAI driver if Zephyr ESAI driver is enabled
Browse files Browse the repository at this point in the history
If the Zephyr ESAI driver is enabled this also means we should
include the HAL ESAI driver since the former depends on the
latter.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
  • Loading branch information
LaurentiuM1234 authored and mmahadevan108 committed Apr 1, 2024
1 parent 874ed3b commit 6b252c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mcux/hal_nxp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ include_driver_ifdef(CONFIG_DMA_NXP_EDMA edma_rev2 driver_edma_rev2)
include_driver_ifdef(CONFIG_SOC_FAMILY_NXP_MCX mcx_spc driver_mcx_spc)
include_driver_ifdef(CONFIG_ADC_MCUX_GAU cns_adc driver_cns_adc)
include_driver_ifdef(CONFIG_DAC_MCUX_GAU cns_dac driver_cns_dac)
include_driver_ifdef(CONFIG_DAI_NXP_ESAI esai driver_esai)

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

0 comments on commit 6b252c3

Please sign in to comment.