-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into testReleaseYml
- Loading branch information
Showing
32 changed files
with
25,314 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
if (NOT ( (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "STM32") ) ) | ||
return() | ||
endif() | ||
|
||
#------------------------------------------------------------------------------ | ||
add_library( freertos_plus_tcp_network_if STATIC ) | ||
|
||
set( FREERTOS_PLUS_TCP_STM32_IF_DRIVER "None" CACHE STRING "The driver sources to use with STM32 Network interface" ) | ||
|
||
target_sources( freertos_plus_tcp_network_if | ||
PRIVATE | ||
NetworkInterface.c | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F4>: | ||
Drivers/F4/stm32f4xx_hal_eth.c> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F7>: | ||
Drivers/F7/stm32f7xx_hal_eth.c> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
Drivers/H5/stm32h5xx_hal_eth_ex.c> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
Drivers/H5/stm32h5xx_hal_eth.c> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
Drivers/H7/stm32h7xx_hal_eth_ex.c> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
Drivers/H7/stm32h7xx_hal_eth.c> | ||
) | ||
|
||
target_include_directories( freertos_plus_tcp_network_if | ||
PUBLIC | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F4>: | ||
Drivers/F4> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},F7>: | ||
Drivers/F7> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H5>: | ||
Drivers/H5> | ||
$<$<STREQUAL:${FREERTOS_PLUS_TCP_STM32_IF_DRIVER},H7>: | ||
Drivers/H7> | ||
) | ||
|
||
target_link_libraries( freertos_plus_tcp_network_if | ||
PUBLIC | ||
freertos_plus_tcp_port | ||
freertos_plus_tcp_network_if_common | ||
PRIVATE | ||
freertos_kernel | ||
freertos_plus_tcp | ||
) |
Oops, something went wrong.