Skip to content

Commit

Permalink
add board.mk for u575 nucleo
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Oct 17, 2023
1 parent 22aefd6 commit a5a77af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit a5a77af

Please sign in to comment.