group stm32f1 board

This commit is contained in:
hathach
2021-08-19 18:02:16 +07:00
parent c4a9a04d67
commit 1992f49343
7 changed files with 128 additions and 72 deletions
@@ -0,0 +1,11 @@
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/STM32F103XB_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