diff options
| author | hathach <[email protected]> | 2023-10-17 23:53:09 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-10-17 23:53:09 +0700 |
| commit | a5a77af11ea2ec37f74ecd81eb1799cc38c6fbf1 (patch) | |
| tree | f8ee0273912c2aed55240496f6b15348d9d5a697 /hw | |
| parent | 22aefd6aba9cbba0faca803fb9f331ae6b0fae56 (diff) | |
add board.mk for u575 nucleo
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake b/hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake new file mode 100644 index 000000000..73bd10033 --- /dev/null +++ b/hw/bsp/stm32u5/boards/stm32u575nucleo/board.cmake @@ -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() |
