This commit is contained in:
Imbus 2025-06-24 10:12:33 +02:00
parent 98c46cc443
commit 58fe004bda

View file

@ -1,6 +1,6 @@
# 'master' or hash # 'master' or hash
REV := 8ba9981e5 REV := 5015285
BASE := https://raw.githubusercontent.com/cnlohr/ch32v003fun/$(REV) BASE := https://raw.githubusercontent.com/cnlohr/ch32fun/$(REV)
CURL_FLAGS := -O -\# --fail --location --tlsv1.3 --proto =https --max-time 300 CURL_FLAGS := -O -\# --fail --location --tlsv1.3 --proto =https --max-time 300
TARGET = output TARGET = output
@ -46,7 +46,7 @@ $(TARGET).elf: $(SRC) libgcc.a | ch32v003.ld ch32fun.h ch32v003hw.h
ch32v003.ld: ch32fun.ld ch32v003.ld: ch32fun.ld
@$(CC) -E -P -x c $< > $@ \ @$(CC) -E -P -x c $< > $@ \
-DTARGET_MCU=$(TARGET_MCU) \ -DTARGET_MCU=$(TARGET_MCU) \
-DMCU_PACKAGE= \ -DMCU_PACKAGE=1 \
-DTARGET_MCU_LD=0 \ -DTARGET_MCU_LD=0 \
-DTARGET_MCU_MEMORY_SPLIT= -DTARGET_MCU_MEMORY_SPLIT=