Skip to content

Commit

Permalink
Removed -nostdlib from LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Aug 22, 2023
1 parent e56b7fd commit af0cbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) -nostdlib
LDFLAGS += --specs=nosys.specs --specs=nano.specs $(PROCESSOR)
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
Expand Down

0 comments on commit af0cbe5

Please sign in to comment.