aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake b/lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake
new file mode 100644
index 000000000..f6e07839d
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/devices/LPC54114/driver_power.cmake
@@ -0,0 +1,16 @@
1if(NOT DRIVER_POWER_INCLUDED)
2
3 set(DRIVER_POWER_INCLUDED true CACHE BOOL "driver_power component is included.")
4
5 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6 ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_power.c
7 )
8
9 target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10 ${CMAKE_CURRENT_LIST_DIR}/drivers
11 )
12
13
14 include(driver_common)
15
16endif() \ No newline at end of file