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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue