Skip to content

Commit

Permalink
add cmake support for u575 nucleo
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Oct 17, 2023
1 parent 80ee307 commit 22aefd6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 338 deletions.
3 changes: 2 additions & 1 deletion .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

167 changes: 0 additions & 167 deletions hw/bsp/stm32u5/boards/stm32u575eval/STM32U575AIIXQ_FLASH.ld

This file was deleted.

2 changes: 1 addition & 1 deletion hw/bsp/stm32u5/boards/stm32u575eval/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CFLAGS += \
-DSTM32U575xx \

# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/STM32U575AIIXQ_FLASH.ld
LD_FILE = ${ST_CMSIS}/Source/Templates/gcc/linker/STM32U575xx_FLASH.ld

SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32u575xx.s

Expand Down
167 changes: 0 additions & 167 deletions hw/bsp/stm32u5/boards/stm32u575nucleo/STM32U575ZITXQ_FLASH.ld

This file was deleted.

4 changes: 2 additions & 2 deletions hw/bsp/stm32u5/boards/stm32u575nucleo/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ CFLAGS += \
-DSTM32U575xx \

# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/STM32U575ZITXQ_FLASH.ld
LD_FILE = ${ST_CMSIS}/Source/Templates/gcc/linker/STM32U575xx_FLASH.ld

SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32u575xx.s

# For flash-jlink target
JLINK_DEVICE = stm32u575
JLINK_DEVICE = stm32u575zi
1 change: 1 addition & 0 deletions hw/bsp/stm32u5/family.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function(add_board_target BOARD_TARGET)
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_cortex.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_gpio.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_icache.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_pwr_ex.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_rcc.c
${ST_HAL_DRIVER}/Src/${ST_PREFIX}_hal_rcc_ex.c
Expand Down

0 comments on commit 22aefd6

Please sign in to comment.