clean up LD_FILE using $(BOARD)

make it easier to duplicate bsp
This commit is contained in:
hathach
2020-03-07 17:49:30 +07:00
parent 800330cdf0
commit 3ea95c2ab6
23 changed files with 23 additions and 23 deletions

View File

@@ -13,7 +13,7 @@ ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F4xx
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/pyboardv11/STM32F405RGTx_FLASH.ld
LD_FILE = hw/bsp/$(BOARD)/STM32F405RGTx_FLASH.ld
SRC_C += \
$(ST_CMSIS)/Source/Templates/system_stm32f4xx.c \