Skip to content

Commit 7f90451

Browse files
committed
tests: drivers: build_all: ethernet: add testing of dwmac driver
Add a test case to build the Synopsys DesignWare MAC driver for STM32H7 series SoCs. This drivers is an alternative to the existing ETH_STM32_HAL driver. As such both drivers cannot be enabled at the same time. Signed-off-by: Tim Pambor <[email protected]>
1 parent ec31c8c commit 7f90451

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/drivers/build_all/ethernet/testcase.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,12 @@ tests:
2323
- CONFIG_ETH_STM32_MULTICAST_FILTER=y
2424
platform_allow:
2525
- stm32h573i_dk
26+
27+
net.ethernet.build.stm32_dwmac:
28+
filter: dt_compat_enabled("st,stm32-ethernet")
29+
extra_configs:
30+
- CONFIG_ETH_STM32_HAL=n
31+
- CONFIG_ETH_DWMAC_STM32H7X=y
32+
- CONFIG_ETH_PHY_DRIVER=n
33+
platform_allow:
34+
- stm32h735g_disco

0 commit comments

Comments
 (0)