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