aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake
new file mode 100644
index 000000000..b88fbb431
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/components/phy/device/phylan8720a/driver_phy-device-lan8720a.cmake
@@ -0,0 +1,25 @@
1if(NOT DRIVER_PHY-DEVICE-LAN8720A_INCLUDED)
2
3 set(DRIVER_PHY-DEVICE-LAN8720A_INCLUDED true CACHE BOOL "driver_phy-device-lan8720a component is included.")
4
5 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6 ${CMAKE_CURRENT_LIST_DIR}/fsl_phylan8720a.c
7 )
8
9 target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10 ${CMAKE_CURRENT_LIST_DIR}/.
11 )
12
13 #OR Logic component
14 if(${MCUX_DEVICE} STREQUAL "LPC54628")
15 include(driver_phy-common)
16 endif()
17 if(${MCUX_DEVICE} STREQUAL "LPC54S018")
18 include(driver_phy-common)
19 endif()
20 if(${MCUX_DEVICE} STREQUAL "LPC54S018M")
21 include(driver_phy-common)
22 endif()
23
24
25endif() \ No newline at end of file