Skip to content

Commit efd2934

Browse files
committed
fix build for 407blackvet
1 parent eca025f commit efd2934

File tree

1 file changed

+4
-4
lines changed
  • hw/bsp/stm32f4/boards/stm32f407blackvet

1 file changed

+4
-4
lines changed

hw/bsp/stm32f4/boards/stm32f407blackvet/board.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
CFLAGS += -DSTM32F407xx
22

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

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

1111

1212
# For flash-jlink target

0 commit comments

Comments
 (0)