2025-06-04 11:21:27 +10:00
|
|
|
set(MCU_VARIANT stm32n657xx)
|
|
|
|
set(JLINK_DEVICE stm32n6xx)
|
|
|
|
|
2025-06-12 14:07:51 +07:00
|
|
|
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32N657XX_AXISRAM2_fsbl.ld)
|
2025-06-04 11:21:27 +10:00
|
|
|
|
|
|
|
function(update_board TARGET)
|
|
|
|
target_compile_definitions(${TARGET} PUBLIC
|
2025-06-12 14:07:51 +07:00
|
|
|
STM32N657xx
|
2025-06-04 11:21:27 +10:00
|
|
|
)
|
|
|
|
target_sources(${TARGET} PUBLIC
|
2025-06-12 15:08:46 +07:00
|
|
|
${ST_TCPP0203}/tcpp0203.c
|
|
|
|
${ST_TCPP0203}/tcpp0203_reg.c
|
2025-06-04 11:21:27 +10:00
|
|
|
)
|
|
|
|
target_include_directories(${TARGET} PUBLIC
|
2025-06-12 15:08:46 +07:00
|
|
|
${ST_TCPP0203}
|
2025-06-04 11:21:27 +10:00
|
|
|
)
|
|
|
|
endfunction()
|