Skip to content

Commit f4d724d

Browse files
yangbolu1991mmahadevan108
authored andcommitted
mcux: add NETC support in cmake
Added NETC support in cmake. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
1 parent f91541b commit f4d724d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mcux/hal_nxp.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ include_driver_ifdef(CONFIG_ENTROPY_MCUX_RNGA rnga driver_rnga)
170170
include_driver_ifdef(CONFIG_ENTROPY_MCUX_TRNG trng driver_trng)
171171
include_driver_ifdef(CONFIG_ENTROPY_MCUX_CAAM caam driver_caam)
172172
include_driver_ifdef(CONFIG_ETH_NXP_ENET enet driver_enet)
173+
include_driver_ifdef(CONFIG_ETH_NXP_IMX_NETC netc driver_netc)
173174
include_driver_ifdef(CONFIG_HAS_MCUX_SMC smc driver_smc)
174175
include_driver_ifdef(CONFIG_I2C_MCUX i2c driver_i2c)
175176
if (CONFIG_NXP_LP_FLEXCOMM)
@@ -264,6 +265,11 @@ include_driver_ifdef(CONFIG_NXP_RF_IMU imu driver_imu)
264265
include_driver_ifdef(CONFIG_TRDC_MCUX_TRDC trdc driver_trdc)
265266
include_driver_ifdef(CONFIG_S3MU_MCUX_S3MU s3mu driver_s3mu)
266267

268+
if (${MCUX_DEVICE} MATCHES "MIMXRT1189")
269+
include_driver_ifdef(CONFIG_ETH_NXP_IMX_NETC netc/socs/imxrt1180 driver_netc_soc_imxrt1180)
270+
include_driver_ifdef(CONFIG_ETH_NXP_IMX_NETC msgintr driver_msgintr)
271+
endif()
272+
267273
if ((${MCUX_DEVICE} MATCHES "MIMXRT1[0-9][0-9][0-9]") AND (NOT (CONFIG_SOC_MIMXRT1166_CM4 OR CONFIG_SOC_MIMXRT1176_CM4 OR CONFIG_SOC_MIMXRT1189_CM33)))
268274
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/armv7-m7 driver_cache_armv7_m7)
269275
elseif((${MCUX_DEVICE} MATCHES "MIMXRT(5|6)") OR (${MCUX_DEVICE} MATCHES "RW61") OR (${MCUX_DEVICE} MATCHES "MCXN.4."))

0 commit comments

Comments
 (0)