mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
update all f0 board to build with iar
This commit is contained in:
parent
c414cc650e
commit
1891802f08
5
.github/workflows/build_iar_arm.yml
vendored
5
.github/workflows/build_iar_arm.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user