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

@@ -15,6 +15,8 @@ CFLAGS += \
# suppress warning caused by vendor mcu driver
CFLAGS += -Wno-error=maybe-uninitialized -Wno-error=cast-align -Wno-error=undef -Wno-error=unused-parameter
LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
SRC_C += \
src/portable/synopsys/dwc2/dcd_dwc2.c \
$(ST_CMSIS)/Source/Templates/system_stm32$(ST_FAMILY)xx.c \