2023-06-24 20:17:48 +07:00

18 lines
277 B
Makefile

MCU_VARIANT = stm32f767xx
PORT ?= 0
SPEED ?= full
CFLAGS += \
-DSTM32F767xx \
-DHSE_VALUE=8000000 \
# Linker
LD_FILE_GCC = $(BOARD_PATH)/STM32F767ZITx_FLASH.ld
# For flash-jlink target
JLINK_DEVICE = stm32f767zi
# flash target using on-board stlink
flash: flash-stlink