first commit

This commit is contained in:
2024-11-08 00:11:06 +06:00
commit 1e0915ac08
9 changed files with 532 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
all : flash
TARGET:=ch32ext
CH32V003FUN=./ch32v003fun/ch32v003fun
MINICHLINK=./ch32v003fun/minichlink
PREFIX=riscv64-elf
LINKER_SCRIPT=./ch32ext.ld
# CFLAGS += -march=rv32ec_zicsr
include $(CH32V003FUN)/ch32v003fun.mk
flash : cv_flash
clean : cv_clean