2025-01-24 16:54:36 +01:00
|
|
|
set(MCU_VARIANT stm32h7s3xx)
|
|
|
|
set(JLINK_DEVICE stm32h7s3xx)
|
|
|
|
|
2025-04-12 20:00:47 +02:00
|
|
|
set(LD_FILE_Clang ${LD_FILE_GNU})
|
2025-04-12 17:01:10 +02:00
|
|
|
|
2025-04-12 20:00:47 +02:00
|
|
|
function(update_board TARGET)
|
2025-01-24 16:54:36 +01:00
|
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
|
|
STM32H7S3xx
|
|
|
|
)
|
|
|
|
target_sources(${TARGET} PUBLIC
|
2025-06-12 15:08:46 +07:00
|
|
|
${ST_TCPP0203}/tcpp0203.c
|
|
|
|
${ST_TCPP0203}/tcpp0203_reg.c
|
2025-01-24 16:54:36 +01:00
|
|
|
)
|
|
|
|
target_include_directories(${TARGET} PUBLIC
|
2025-06-12 15:08:46 +07:00
|
|
|
${ST_TCPP0203}
|
2025-01-24 16:54:36 +01:00
|
|
|
)
|
|
|
|
endfunction()
|