Files
tinyUSB/hw/bsp/stm32f7/boards/stm32f746nucleo/board.mk
2024-11-06 21:46:18 +07:00

18 lines
260 B
Makefile

MCU_VARIANT = stm32f746xx
RHPORT_DEVICE ?= 0
RHPORT_HOST ?= 0
PORT ?= 0
SPEED ?= full
CFLAGS += \
-DSTM32F746xx \
-DHSE_VALUE=8000000
# Linker
LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld
# flash target using on-board stlink
flash: flash-stlink