make nanolib linking explicitly by each family/board
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
DEPS_SUBMODULES += hw/mcu/microchip
|
||||
ASF_DIR = hw/mcu/microchip/same70
|
||||
|
||||
CFLAGS += \
|
||||
-mthumb \
|
||||
@@ -16,7 +17,7 @@ CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=redundant
|
||||
# SAM driver is flooded with -Wcast-qual which slow down complication significantly
|
||||
CFLAGS_SKIP += -Wcast-qual
|
||||
|
||||
ASF_DIR = hw/mcu/microchip/same70
|
||||
LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = $(ASF_DIR)/same70b/gcc/gcc/same70q21b_flash.ld
|
||||
|
Reference in New Issue
Block a user