add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue
This commit is contained in:
7
hw/bsp/ch32v10x/boards/ch32v103r_r1_1v0/board.mk
Normal file
7
hw/bsp/ch32v10x/boards/ch32v103r_r1_1v0/board.mk
Normal file
@@ -0,0 +1,7 @@
|
||||
MCU_VARIANT = D6
|
||||
|
||||
CFLAGS += -DCFG_EXAMPLE_MSC_DUAL_READONLY
|
||||
|
||||
LDFLAGS += \
|
||||
-Wl,--defsym=__flash_size=64K \
|
||||
-Wl,--defsym=__ram_size=20K \
|
Reference in New Issue
Block a user