diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1021/device_system.cmake')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1021/device_system.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1021/device_system.cmake b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1021/device_system.cmake new file mode 100644 index 000000000..0516b1b59 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1021/device_system.cmake | |||
@@ -0,0 +1,16 @@ | |||
1 | if(NOT DEVICE_SYSTEM_INCLUDED) | ||
2 | |||
3 | set(DEVICE_SYSTEM_INCLUDED true CACHE BOOL "device_system component is included.") | ||
4 | |||
5 | target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
6 | ${CMAKE_CURRENT_LIST_DIR}/system_MIMXRT1021.c | ||
7 | ) | ||
8 | |||
9 | target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
10 | ${CMAKE_CURRENT_LIST_DIR}/. | ||
11 | ) | ||
12 | |||
13 | |||
14 | include(device_CMSIS) | ||
15 | |||
16 | endif() \ No newline at end of file | ||