explicitly add dcd source file without vendor/family

This commit is contained in:
hathach
2021-03-17 16:52:07 +07:00
parent 8775e89a4f
commit ed8f117dd1
46 changed files with 56 additions and 190 deletions
+3 -5
View File
@@ -39,6 +39,8 @@ CFLAGS += -Wno-error=shadow
SPRESENSE_SDK = $(TOP)/hw/mcu/sony/cxd56/spresense-exported-sdk
SRC_C += src/portable/sony/cxd56/dcd_cxd56.c
INC += \
$(SPRESENSE_SDK)/nuttx/include \
$(SPRESENSE_SDK)/nuttx/arch \
@@ -57,11 +59,7 @@ LDFLAGS += \
-nostartfiles \
-nodefaultlibs \
-Wl,--gc-sections \
-u spresense_main \
# For TinyUSB port source
VENDOR = sony
CHIP_FAMILY = cxd56
-u spresense_main
$(MKSPK): $(BUILD)/$(PROJECT).elf
$(MAKE) -C $(TOP)/hw/mcu/sony/cxd56/mkspk