mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-24 05:42:57 +08:00
14 lines
284 B
Makefile
14 lines
284 B
Makefile
MCU_VARIANT = stm32f103xb
|
|
|
|
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U
|
|
|
|
# Linker
|
|
LD_FILE_GCC = $(BOARD_PATH)/STM32F103XC_FLASH.ld
|
|
LD_FILE_IAR = $(BOARD_PATH)/stm32f103xc_flash.icf
|
|
|
|
# For flash-jlink target
|
|
JLINK_DEVICE = stm32f103rc
|
|
|
|
# flash target ROM bootloader
|
|
flash: flash-jlink
|