cc253x: Change CFLAGS
This add -fomit-frame-pointer by default, it decrease sliglty the stack usage when several function call are nested. On some specific case 30 bytes could be saved on the stack.
This commit is contained in:
parent
8699f7741d
commit
44bcabe89c
@ -16,6 +16,7 @@ SEGMENT_RULES = $(OBJECTDIR)/segment.rules
|
||||
|
||||
CFLAGS += --model-$(MEMORY_MODEL) --stack-auto --std-c99
|
||||
CFLAGS += -DCC2530_LAST_FLASH_BANK=$(HIGH_FLASH_BANK)
|
||||
CFLAGS += --fomit-frame-pointer
|
||||
|
||||
LDFLAGS += --model-$(MEMORY_MODEL) --stack-auto --out-fmt-ihx
|
||||
LDFLAGS += --xram-loc 0x0000 --xram-size 0x1F00
|
||||
|
Loading…
Reference in New Issue
Block a user