aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk
diff options
context:
space:
mode:
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk')
-rw-r--r--circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk
new file mode 100644
index 0000000..66d9ff8
--- /dev/null
+++ b/circuitpython/lib/tinyusb/hw/bsp/stm32f7/boards/stm32f723disco/board.mk
@@ -0,0 +1,15 @@
+PORT ?= 1
+SPEED ?= high
+
+CFLAGS += \
+ -DSTM32F723xx \
+ -DHSE_VALUE=25000000 \
+
+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
+
+# For flash-jlink target
+JLINK_DEVICE = stm32f723ie