C

Qt Quick Ultralite interrupt_handler Example

SET(SDK_DIR $ENV{EVKB_IMXRT1050_SDK_PATH})
STRING(REGEX REPLACE "\\\\" "/" SDK_DIR "${SDK_DIR}")

IF(NOT SDK_DIR) # Requires SDK 2.6 or newer
    MESSAGE(FATAL_ERROR "***Please set EVKB_IMXRT1050_SDK_PATH environment variable***")
ENDIF()
MESSAGE(STATUS "SDK_DIR: " ${SDK_DIR})

target_include_directories(interrupt_handler PRIVATE
    ${SDK_DIR}/devices/MIMXRT1052
    ${SDK_DIR}/devices/MIMXRT1052/drivers
    ${SDK_DIR}/CMSIS/Include
    ${SDK_DIR}/middleware/issdk/boardkit/mimxrt1050-evk
)

target_sources(interrupt_handler PRIVATE
    board_config.cpp
    nxp_config.c
)