aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT685S/device_startup.cmake
blob: 8eb427d7b0e1e1880bc5f51649199740d0918948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if(NOT DEVICE_STARTUP_INCLUDED)

    set(DEVICE_STARTUP_INCLUDED true CACHE BOOL "device_startup component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/system_MIMXRT685S_cm33.c
        ${CMAKE_CURRENT_LIST_DIR}/gcc/startup_MIMXRT685S_cm33.S
    )

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



endif()