if (NOT DEFINED QUL_BOARD_SDK_DIR)
    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)

target_sources(board_utils
PRIVATE
    ${CMAKE_CURRENT_LIST_DIR}/led.cpp
    ${CMAKE_CURRENT_LIST_DIR}/led.c
)

if(NOT IAR)
    target_compile_options(
        board_utils
        PRIVATE
        -Wno-unused-parameter
        -Wno-sign-compare
        -Wno-missing-field-initializers
        -Wno-implicit-fallthrough
    )
endif()
