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

13 lines
249 B
Makefile
Executable File

PORT ?= 0
SPEED ?= full
CFLAGS += \
-DSTM32F767xx \
-DHSE_VALUE=8000000 \
LD_FILE = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f767xx.s
# flash target using on-board stlink
flash: flash-stlink