summaryrefslogtreecommitdiffstats
path: root/tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk
blob: 50973f737857cf8b23cad908268d24f2cf24f916 (plain)
1
2
3
4
5
6
7
8
9
10
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