Skip to content

Commit

Permalink
mcux: MCXA156: 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 committed Aug 5, 2024
1 parent 98dd2ef commit 066dba1
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mcux/mcux-sdk/devices/MCXA156/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)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MCXA156/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_MCXA156.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/MCXA156/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_mcx_spc)
15 changes: 15 additions & 0 deletions mcux/mcux-sdk/devices/MCXA156/drivers/driver_edma_soc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#Description: EDMA SOC Driver; user_visible: True
include_guard(GLOBAL)
message("driver_edma_soc component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_edma_soc.c
)

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


include(driver_common)
include(driver_edma4)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#Description: Inputmux_connections Driver; user_visible: True
include_guard(GLOBAL)
message("driver_inputmux_connections component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
)

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


include(driver_common)
14 changes: 14 additions & 0 deletions mcux/mcux-sdk/devices/MCXA156/drivers/driver_reset.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Description: Reset Driver; user_visible: True
include_guard(GLOBAL)
message("driver_reset component is included.")

target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/fsl_reset.c
)

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


include(driver_common)

0 comments on commit 066dba1

Please sign in to comment.