update all f0 board to build with iar

This commit is contained in:
hathach 2023-01-17 16:38:02 +07:00
parent c414cc650e
commit 1891802f08
3 changed files with 10 additions and 3 deletions

View File

@ -51,4 +51,7 @@ jobs:
- name: Build
#run: python3 tools/build_family.py ${{ matrix.family }}
run: make -j -C examples/device/cdc_msc BOARD=stm32f070rbnucleo CC=iccarm all
run: |
make -j -C examples/device/cdc_msc BOARD=stm32f070rbnucleo CC=iccarm all
make -j -C examples/device/cdc_msc BOARD=stm32f072disco CC=iccarm all
make -j -C examples/device/cdc_msc BOARD=stm32f072eval CC=iccarm all

View File

@ -1,8 +1,10 @@
CFLAGS += -DSTM32F072xB -DCFG_EXAMPLE_VIDEO_READONLY
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
LD_FILE = $(BOARD_PATH)/STM32F072RBTx_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf
# For flash-jlink target
JLINK_DEVICE = stm32f072rb

View File

@ -1,8 +1,10 @@
CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
LD_FILE = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s
IAR_SRC_S += $(ST_CMSIS)/Source/Templates/iar/startup_stm32f072xb.s
IAR_LD_FILE = $(ST_CMSIS)/Source/Templates/iar/linker/stm32f072xb_flash.icf
# For flash-jlink target
JLINK_DEVICE = stm32f072vb