Skip to content

Commit 6270d29

Browse files
DerekSnellkartben
authored andcommitted
boards: nxp: mimxrt1170_evk & rt1160: enable M4 CONFIG_NET_L2_ETHERNET
The Ethernet networking stack can run on the M4 core, see https://community.nxp.com/t5/Zephyr-Project-Knowledge-Base/Zephyr-networking-stack-on-i-MX-RT1170-Cortex-M4-secondary-core/ta-p/2159461 Signed-off-by: Derek Snell <[email protected]>
1 parent ca68c77 commit 6270d29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/nxp/mimxrt1160_evk/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
3434
if NETWORKING
3535

3636
config NET_L2_ETHERNET
37-
default y if CPU_CORTEX_M7 # No cache memory support is required for driver
37+
default y if DT_HAS_NXP_ENET_ENABLED && NETWORKING
3838

3939
endif # NETWORKING
4040

boards/nxp/mimxrt1170_evk/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endif # DISK_DRIVERS
3737
if NETWORKING
3838

3939
config NET_L2_ETHERNET
40-
default y if CPU_CORTEX_M7 # No cache memory support is required for driver
40+
default y if DT_HAS_NXP_ENET_ENABLED && NETWORKING
4141

4242
endif # NETWORKING
4343

0 commit comments

Comments
 (0)