add board.mk for u575 nucleo

This commit is contained in:
hathach 2023-10-17 23:53:09 +07:00
parent 22aefd6aba
commit a5a77af11e
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
set(MCU_VARIANT stm32u575xx)
set(JLINK_DEVICE stm32u575zi)
set(LD_FILE_GNU ${ST_CMSIS}/Source/Templates/gcc/linker/STM32U575xx_FLASH.ld)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
STM32U575xx
)
endfunction()