C

Qt Quick Ultralite interrupt_handler Example

IF(NOT DEFINED QUL_BOARD_SDK_DIR) # Requires SDK 2.6 or newer
    message(FATAL_ERROR "Please define the QUL_BOARD_SDK_DIR CMake cache entry")
ENDIF()
file(TO_CMAKE_PATH "${QUL_BOARD_SDK_DIR}" QUL_BOARD_SDK_DIR)
message(STATUS "QUL_BOARD_SDK_DIR: " ${QUL_BOARD_SDK_DIR})

target_sources(interrupt_handler PRIVATE
    board_config.cpp
    nxp_config.c
)

IF(QUL_OS STREQUAL "FreeRTOS")
    target_compile_definitions(interrupt_handler PRIVATE NXP_FREERTOS)
ENDIF()