C

Qt Quick Ultralite interrupt_handler Example

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

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

target_include_directories(interrupt_handler PRIVATE
    ${SDK_DIR}/Drivers/STM32F7xx_HAL_Driver/Inc
    ${SDK_DIR}/Projects/STM32F7508-DISCO/Templates/Template_Project/Inc
    ${SDK_DIR}/Drivers/CMSIS/Include
    ${SDK_DIR}/Drivers/CMSIS/Device/ST/STM32F7xx/Include
    ${SDK_DIR}/Drivers/BSP/STM32F7508-Discovery
)

target_sources(interrupt_handler PRIVATE
    board_config.cpp
)