From d90dccde9ac8fb3890e3c3e899d7aca9533f324d Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Fri, 25 Jul 2014 19:03:45 +0400 Subject: [PATCH] Reducing heap's chunk size to 64 bytes, heap size to 2.5K; RAM size to 8K in stm32f4 linker script. --- Makefile.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.mak b/Makefile.mak index f64604f6e..7cb377a19 100644 --- a/Makefile.mak +++ b/Makefile.mak @@ -157,7 +157,7 @@ endif # CFLAGS_JERRY = $(CFLAGS_WARNINGS) $(CFLAGS_WERROR) $(CFLAGS_WFATAL_ERRORS) -DEFINES_JERRY = -DMEM_HEAP_CHUNK_SIZE=$$((256)) -DMEM_HEAP_AREA_SIZE=$$((32768)) -DMEM_STATS +DEFINES_JERRY = -DMEM_HEAP_CHUNK_SIZE=$$((64)) -DMEM_HEAP_AREA_SIZE=$$((2 * 1024 + 512)) -DMEM_STATS # FIXME: # Add common-io.c and sensors.c