Add support for Nucleo F412ZG

This commit is contained in:
szymonh
2021-09-13 13:21:25 +02:00
parent 7e6f954ffe
commit 1a87b605bd
4 changed files with 792 additions and 0 deletions
@@ -0,0 +1,11 @@
CFLAGS += -DSTM32F412Zx
LD_FILE = $(BOARD_PATH)/STM32F412ZGTx_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f412zx.s
# For flash-jlink target
JLINK_DEVICE = stm32f412zg
# flash target using on-board stlink
flash: flash-stlink