chore: rewrite to modbus rtu

This commit is contained in:
2024-11-09 00:36:06 +06:00
parent 0a0084f98f
commit 68f47c9d53
14 changed files with 506 additions and 167 deletions

View File

@@ -5,9 +5,13 @@ CH32V003FUN=./ch32v003fun/ch32v003fun
MINICHLINK=./ch32v003fun/minichlink
PREFIX=riscv64-elf
LINKER_SCRIPT=./ch32ext.ld
# CFLAGS += -march=rv32ec_zicsr
ADDITIONAL_C_FILES = systick.c \
shift_reg.c \
rs485.c \
modbus.c
include $(CH32V003FUN)/ch32v003fun.mk
flash : cv_flash
clean : cv_clean
clean : cv_clean