diff options
Diffstat (limited to 'tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk')
-rwxr-xr-x | tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk b/tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk new file mode 100755 index 00000000..50973f73 --- /dev/null +++ b/tinyusb/hw/bsp/stm32f4/boards/stm32f412disco/board.mk @@ -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 |