Default value for _DATA20_HEAP_SIZE when using the IAR compiler on MSP430 platforms
This commit is contained in:
parent
4630945475
commit
767e8bb551
1 changed files with 3 additions and 3 deletions
|
@ -81,10 +81,10 @@ endif
|
|||
ifndef IAR_DATA16_HEAP_SIZE
|
||||
IAR_DATA16_HEAP_SIZE=100
|
||||
endif
|
||||
LDFLAGSNO += -D_STACK_SIZE=$(IAR_STACK_SIZE) -D_DATA16_HEAP_SIZE=$(IAR_DATA16_HEAP_SIZE)
|
||||
ifdef IAR_DATA20_HEAP_SIZE
|
||||
LDFLAGSNO += -D_DATA20_HEAP_SIZE=$(IAR_DATA20_HEAP_SIZE)
|
||||
ifndef IAR_DATA20_HEAP_SIZE
|
||||
IAR_DATA20_HEAP_SIZE=0
|
||||
endif
|
||||
LDFLAGSNO += -D_STACK_SIZE=$(IAR_STACK_SIZE) -D_DATA16_HEAP_SIZE=$(IAR_DATA16_HEAP_SIZE) -D_DATA20_HEAP_SIZE=$(IAR_DATA20_HEAP_SIZE)
|
||||
|
||||
CUSTOM_RULE_C_TO_O = 1
|
||||
%.o: %.c
|
||||
|
|
Loading…
Reference in a new issue