Default value for _DATA20_HEAP_SIZE when using the IAR compiler on MSP430 platforms

This commit is contained in:
Niclas Finne 2012-09-20 14:01:56 +02:00
parent 4630945475
commit 767e8bb551

View file

@ -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