mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
15 lines
224 B
Makefile
15 lines
224 B
Makefile
MCU_VARIANT = stm32f746xx
|
|
|
|
PORT ?= 1
|
|
SPEED ?= high
|
|
|
|
CFLAGS += \
|
|
-DSTM32F746xx \
|
|
-DHSE_VALUE=25000000
|
|
|
|
# Linker
|
|
LD_FILE_GCC = $(BOARD_PATH)/STM32F746ZGTx_FLASH.ld
|
|
|
|
# flash target using on-board stlink
|
|
flash: flash-stlink
|