Skip to content

Commit 29750ac

Browse files
Freey0nashif
authored andcommitted
drivers: ethernet: eth_stm32 v1/v2 are placed in separate files
v1/v2 are placed in separate files and prepare to add asynchronous sending functionality for V2 Signed-off-by: WenBin Zhang <[email protected]>
1 parent 678e226 commit 29750ac

File tree

3 files changed

+719
-271
lines changed

3 files changed

+719
-271
lines changed

drivers/ethernet/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ zephyr_library_sources_ifdef(CONFIG_ETH_ESP32 eth_esp32.c)
2929
zephyr_library_sources_ifdef(CONFIG_ETH_LITEX_LITEETH eth_litex_liteeth.c)
3030
zephyr_library_sources_ifdef(CONFIG_ETH_SMSC911X eth_smsc911x.c)
3131
zephyr_library_sources_ifdef(CONFIG_ETH_STELLARIS eth_stellaris.c)
32-
zephyr_library_sources_ifdef(CONFIG_ETH_STM32_HAL eth_stm32_hal_v2.c)
32+
zephyr_library_sources_ifdef(CONFIG_ETH_STM32_HAL_API_V1 eth_stm32_hal_v1.c)
33+
zephyr_library_sources_ifdef(CONFIG_ETH_STM32_HAL_API_V2 eth_stm32_hal_v2.c)
3334
zephyr_library_sources_ifdef(CONFIG_ETH_W5500 eth_w5500.c)
3435
zephyr_library_sources_ifdef(CONFIG_ETH_SAM_GMAC eth_sam_gmac.c)
3536
zephyr_library_sources_ifdef(CONFIG_ETH_CYCLONEV eth_cyclonev.c)

0 commit comments

Comments
 (0)