make nanolib linking explicitly by each family/board

This commit is contained in:
hathach
2023-11-23 12:43:13 +07:00
parent 1a98f5389c
commit 82880eecbd
58 changed files with 130 additions and 684 deletions

View File

@@ -28,6 +28,8 @@ CFLAGS += \
-Xlinker --gc-sections \
-DBOARD_TUD_MAX_SPEED=OPT_MODE_HIGH_SPEED
LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
SRC_C += \
src/portable/wch/ch32v307/dcd_usbhs.c \
$(CH32V307_SDK_SRC)/Core/core_riscv.c \