update stm32f1 to support iar build

This commit is contained in:
hathach
2023-01-21 11:32:37 +07:00
parent cb34cb2a93
commit 1bbeb6ad79
12 changed files with 79 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY
GCC_SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
LD_FILE = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld
GCC_LD_FILE = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf