diff --git a/Makefile b/Makefile index 8b5ae0a04c..487801ab38 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ LIB = $(srctree)/src/lib PROCESSOR = -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 LINKER_DIR = $(srctree)/tools/make/F405/linker -LDFLAGS += --specs=nosys.specs --specs=nano.specs $(PROCESSOR) +LDFLAGS += --specs=nosys.specs --specs=nano.specs $(PROCESSOR) -nostdlib image_LDFLAGS += -Wl,-Map=$(PROG).map,--cref,--gc-sections,--undefined=uxTopUsedPriority image_LDFLAGS += -L$(srctree)/tools/make/F405/linker image_LDFLAGS += -T $(LINKER_DIR)/FLASH_CLOAD.ld