add tinyusb
This commit is contained in:
11
tinyusb/hw/bsp/stm32f1/boards/stm32f103_bluepill/board.mk
Executable file
11
tinyusb/hw/bsp/stm32f1/boards/stm32f103_bluepill/board.mk
Executable file
@@ -0,0 +1,11 @@
|
||||
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = $(BOARD_PATH)/STM32F103X8_FLASH.ld
|
||||
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f103xb.s
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = stm32f103c8
|
||||
|
||||
# flash target ROM bootloader
|
||||
flash: flash-dfu-util
|
||||
Reference in New Issue
Block a user