diff options
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32h7/boards/stm32h743eval/board.mk')
-rw-r--r-- | circuitpython/lib/tinyusb/hw/bsp/stm32h7/boards/stm32h743eval/board.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32h7/boards/stm32h743eval/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32h7/boards/stm32h743eval/board.mk new file mode 100644 index 0000000..b768a0e --- /dev/null +++ b/circuitpython/lib/tinyusb/hw/bsp/stm32h7/boards/stm32h743eval/board.mk @@ -0,0 +1,14 @@ +CFLAGS += -DSTM32H743xx -DHSE_VALUE=25000000 + +# Default is Highspeed port +PORT ?= 1 +SPEED ?= high + +SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32h743xx.s +LD_FILE = $(BOARD_PATH)/stm32h743xx_flash.ld + +# For flash-jlink target +JLINK_DEVICE = stm32h743xi + +# flash target using on-board stlink +flash: flash-stlink |