diff options
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk')
-rw-r--r-- | circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk new file mode 100644 index 0000000..a18b323 --- /dev/null +++ b/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stlinkv3mini/board.mk @@ -0,0 +1,14 @@ +# Only OTG-HS has a connector on this board +PORT ?= 1 +SPEED ?= high + +CFLAGS += \ + -DSTM32F723xx \ + -DHSE_VALUE=25000000 \ + +# All source paths should be relative to the top level. +LD_FILE = $(BOARD_PATH)/STM32F723xE_FLASH.ld +SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f723xx.s + +# flash target using on-board stlink +flash: flash-stlink |