diff --git a/mcux/mcux-sdk/devices/MCXC141/device_CMSIS.cmake b/mcux/mcux-sdk/devices/MCXC141/device_CMSIS.cmake new file mode 100644 index 000000000..719d2426b --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC141/device_CMSIS.cmake @@ -0,0 +1,13 @@ +#Description: device_CMSIS; user_visible: False +include_guard(GLOBAL) +message("device_CMSIS component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(CMSIS_Include_core_cm OPTIONAL) diff --git a/mcux/mcux-sdk/devices/MCXC141/device_system.cmake b/mcux/mcux-sdk/devices/MCXC141/device_system.cmake new file mode 100644 index 000000000..cd9034e29 --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC141/device_system.cmake @@ -0,0 +1,14 @@ +#Description: device_system; user_visible: False +include_guard(GLOBAL) +message("device_system component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/system_MCXC141.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(device_CMSIS) diff --git a/mcux/mcux-sdk/devices/MCXC141/drivers/driver_clock.cmake b/mcux/mcux-sdk/devices/MCXC141/drivers/driver_clock.cmake new file mode 100644 index 000000000..348471f89 --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC141/drivers/driver_clock.cmake @@ -0,0 +1,14 @@ +#Description: Clock Driver; user_visible: True +include_guard(GLOBAL) +message("driver_clock component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/fsl_clock.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(driver_common) diff --git a/mcux/mcux-sdk/devices/MCXC141/drivers/driver_reset.cmake b/mcux/mcux-sdk/devices/MCXC141/drivers/driver_reset.cmake new file mode 100644 index 000000000..49eb2cb9f --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC141/drivers/driver_reset.cmake @@ -0,0 +1,12 @@ +#Description: Reset Driver; user_visible: False +include_guard(GLOBAL) +message("driver_reset component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + diff --git a/mcux/mcux-sdk/devices/MCXC142/device_CMSIS.cmake b/mcux/mcux-sdk/devices/MCXC142/device_CMSIS.cmake new file mode 100644 index 000000000..719d2426b --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC142/device_CMSIS.cmake @@ -0,0 +1,13 @@ +#Description: device_CMSIS; user_visible: False +include_guard(GLOBAL) +message("device_CMSIS component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(CMSIS_Include_core_cm OPTIONAL) diff --git a/mcux/mcux-sdk/devices/MCXC142/device_system.cmake b/mcux/mcux-sdk/devices/MCXC142/device_system.cmake new file mode 100644 index 000000000..b28a3066a --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC142/device_system.cmake @@ -0,0 +1,14 @@ +#Description: device_system; user_visible: False +include_guard(GLOBAL) +message("device_system component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/system_MCXC142.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(device_CMSIS) diff --git a/mcux/mcux-sdk/devices/MCXC142/drivers/driver_clock.cmake b/mcux/mcux-sdk/devices/MCXC142/drivers/driver_clock.cmake new file mode 100644 index 000000000..348471f89 --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC142/drivers/driver_clock.cmake @@ -0,0 +1,14 @@ +#Description: Clock Driver; user_visible: True +include_guard(GLOBAL) +message("driver_clock component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/fsl_clock.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(driver_common) diff --git a/mcux/mcux-sdk/devices/MCXC142/drivers/driver_reset.cmake b/mcux/mcux-sdk/devices/MCXC142/drivers/driver_reset.cmake new file mode 100644 index 000000000..49eb2cb9f --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC142/drivers/driver_reset.cmake @@ -0,0 +1,12 @@ +#Description: Reset Driver; user_visible: False +include_guard(GLOBAL) +message("driver_reset component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + diff --git a/mcux/mcux-sdk/devices/MCXC242/device_CMSIS.cmake b/mcux/mcux-sdk/devices/MCXC242/device_CMSIS.cmake new file mode 100644 index 000000000..719d2426b --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC242/device_CMSIS.cmake @@ -0,0 +1,13 @@ +#Description: device_CMSIS; user_visible: False +include_guard(GLOBAL) +message("device_CMSIS component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(CMSIS_Include_core_cm OPTIONAL) diff --git a/mcux/mcux-sdk/devices/MCXC242/device_system.cmake b/mcux/mcux-sdk/devices/MCXC242/device_system.cmake new file mode 100644 index 000000000..6ab1eff1d --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC242/device_system.cmake @@ -0,0 +1,14 @@ +#Description: device_system; user_visible: False +include_guard(GLOBAL) +message("device_system component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/system_MCXC242.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(device_CMSIS) diff --git a/mcux/mcux-sdk/devices/MCXC242/drivers/driver_clock.cmake b/mcux/mcux-sdk/devices/MCXC242/drivers/driver_clock.cmake new file mode 100644 index 000000000..348471f89 --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC242/drivers/driver_clock.cmake @@ -0,0 +1,14 @@ +#Description: Clock Driver; user_visible: True +include_guard(GLOBAL) +message("driver_clock component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/fsl_clock.c +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + + +include(driver_common) diff --git a/mcux/mcux-sdk/devices/MCXC242/drivers/driver_reset.cmake b/mcux/mcux-sdk/devices/MCXC242/drivers/driver_reset.cmake new file mode 100644 index 000000000..49eb2cb9f --- /dev/null +++ b/mcux/mcux-sdk/devices/MCXC242/drivers/driver_reset.cmake @@ -0,0 +1,12 @@ +#Description: Reset Driver; user_visible: False +include_guard(GLOBAL) +message("driver_reset component is included.") + +target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE +) + +target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/. +) + +