Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/25080 )
Change subject: firmware: data sections ...................................................................... firmware: data sections Might or might not be compiler default, but why guess? Change-Id: Id3da816611afea0858466949dcc47db5e5d5493a --- M firmware/Makefile 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/80/25080/1 diff --git a/firmware/Makefile b/firmware/Makefile index 684f223..76a58e1 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -174,7 +174,7 @@ #CFLAGS += -Wa,-a,-ad CFLAGS += -D__ARM -fno-builtin CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb # -mfix-cortex-m3-ldrd -CFLAGS += -ffunction-sections -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -DTRACE_LEVEL=$(TRACE_LEVEL) -DALLOW_PEER_ERASE=$(ALLOW_PEER_ERASE) +CFLAGS += -fdata-sections -ffunction-sections -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -DTRACE_LEVEL=$(TRACE_LEVEL) -DALLOW_PEER_ERASE=$(ALLOW_PEER_ERASE) CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" CFLAGS += -DBOARD=\"$(BOARD)\" -DBOARD_$(BOARD) CFLAGS += -DAPPLICATION=\"$(APP)\" -DAPPLICATION_$(APP) -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/25080 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: Id3da816611afea0858466949dcc47db5e5d5493a Gerrit-Change-Number: 25080 Gerrit-PatchSet: 1 Gerrit-Owner: Hoernchen <ew...@sysmocom.de> Gerrit-MessageType: newchange