2021-08-28 12:50:18 -04:00

15 lines
348 B
Makefile
Executable File

# 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