Skip to content

Commit

Permalink
fix build for 407blackvet
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Feb 6, 2025
1 parent eca025f commit efd2934
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hw/bsp/stm32f4/boards/stm32f407blackvet/board.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CFLAGS += -DSTM32F407xx

# GCC
GCC_SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f407xx.s
GCC_LD_FILE = $(BOARD_PATH)/STM32F407VETX_FLASH.ld
SRC_S_GCC += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f407xx.s
LD_FILE_GCC = $(BOARD_PATH)/STM32F407VETx_FLASH.ld

# IAR
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f407xx.s
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f407xx_flash.icf
SRC_S_IAR += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f407xx.s
LD_FILE_IAR = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f407xx_flash.icf


# For flash-jlink target
Expand Down

1 comment on commit efd2934

@rondlh
Copy link

@rondlh rondlh commented on efd2934 Feb 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, I was just about to start a PR to fix this

Please sign in to comment.