add stm32f103 mini v2.0 board

This commit is contained in:
hathach
2021-08-19 18:51:51 +07:00
parent 1992f49343
commit ebfd65a9ca
7 changed files with 277 additions and 6 deletions
@@ -0,0 +1,11 @@
CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000U
# All source paths should be relative to the top level.
LD_FILE = $(BOARD_PATH)/STM32F103XC_FLASH.ld
SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f103xb.s
# For flash-jlink target
JLINK_DEVICE = stm32f103rc
# flash target ROM bootloader
flash: flash-jlink