Skip to content

Commit

Permalink
mcux: MCXC444: add cmake files
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Chen <[email protected]>
  • Loading branch information
NeilChen93 authored and dleach02 committed Aug 12, 2024
1 parent 4ccf8e0 commit e9a9219
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mcux/mcux-sdk/devices/MCXC444/device_CMSIS.cmake
Original file line number Diff line number Diff line change
@@ -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)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MCXC444/device_system.cmake
Original file line number Diff line number Diff line change
@@ -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_MCXC444.c
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
${CMAKE_CURRENT_LIST_DIR}/.
)


include(device_CMSIS)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MCXC444/drivers/driver_clock.cmake
Original file line number Diff line number Diff line change
@@ -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)
12 changes: 12 additions & 0 deletions mcux/mcux-sdk/devices/MCXC444/drivers/driver_reset.cmake
Original file line number Diff line number Diff line change
@@ -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}/.
)


0 comments on commit e9a9219

Please sign in to comment.