Files
tinyUSB/hw/bsp/stm32n6/boards/stm32n657nucleo/board.cmake
2025-06-12 14:07:51 +07:00

20 lines
516 B
CMake

set(MCU_VARIANT stm32n657xx)
set(JLINK_DEVICE stm32n6xx)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32N657XX_AXISRAM2_fsbl.ld)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
STM32N657xx
)
target_sources(${TARGET} PUBLIC
# BSP
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203/tcpp0203.c
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203/tcpp0203_reg.c
)
target_include_directories(${TARGET} PUBLIC
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203
)
endfunction()