C

Qt Quick Ultralite interrupt_handler Example

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

IF(NOT SDK_DIR)
    MESSAGE(FATAL_ERROR "***Please set STM32Cube_FW_F4_SDK_PATH environment variable***")
ENDIF()
MESSAGE(STATUS "SDK_DIR: " ${SDK_DIR})

target_include_directories(interrupt_handler PRIVATE
    ${SDK_DIR}/Drivers/STM32F4xx_HAL_Driver/Inc
    ${SDK_DIR}/Projects/STM32469I-Discovery/Templates/Inc
    ${SDK_DIR}/Drivers/CMSIS/Include
    ${SDK_DIR}/Drivers/CMSIS/Device/ST/STM32F4xx/Include
    ${SDK_DIR}/Drivers/BSP/STM32469I-Discovery
)

target_sources(interrupt_handler PRIVATE
    board_config.cpp
)