mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
18 lines
277 B
Makefile
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
|