Skip to content

Commit 1b6534f

Browse files
committed
Add target for stm32f072x8
1 parent b022f86 commit 1b6534f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ FWTARGETS += stm32f303xb stm32f303xc stm32f303xd stm32f303xe
176176
FWTARGETS += stm32f429xe stm32f429xg stm32f429xi stm32f429xi_hs
177177
FWTARGETS += stm32f105xb stm32f107xb
178178
FWTARGETS += stm32l433xb stm32l433xc
179-
FWTARGETS += stm32f070x6 stm32f070xb
179+
FWTARGETS += stm32f070x6 stm32f070xb stm32f072x8
180180
FWTARGETS += stm32g431x6 stm32g431x8 stm32g431xb
181181
FWTARGETS += stm32g474xb stm32g474xc stm32g474xe
182182
FWTARGETS += stm32f446xc stm32f446xc_hs stm32f446xe stm32f446xe_hs
@@ -573,4 +573,10 @@ stm32f405xg_hs :
573573
FWDEFS='STM32F4 STM32F405xx USBD_PRIMARY_OTGHS' \
574574
LDPARAMS='ROMLEN=1024K RAMLEN=128K APPALIGN=0x4000'
575575

576+
stm32f072x8 :
577+
$(MAKE) bootloader FWCPU='-mcpu=cortex-m0' \
578+
FWSTARTUP='mcu/stm32f0xx.S' \
579+
FWDEFS='STM32F0 STM32F072xB USBD_ASM_DRIVER' \
580+
LDPARAMS='ROMLEN=64K RAMLEN=16K APPALIGN=0x1000'
581+
576582
.PHONY: clean bootloader crypter all program program_stcube rebuild fwclean testsuite prerequisites $(FWTARGETS)

0 commit comments

Comments
 (0)