From c65e5c88b8ec805d40a4b040a56569f8b1aa8bab Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 18 Feb 2019 13:18:59 +1100 Subject: [PATCH] stm32/boards/stm32f429.ld: Increase uPy heap size by 64k for F429 MCU. The F429 has 256k total RAM, with 64k already set aside for flash write cache, so the uPy heap can be increased this much. --- ports/stm32/boards/stm32f429.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/stm32/boards/stm32f429.ld b/ports/stm32/boards/stm32f429.ld index d80f7f5416..d91f625ef6 100644 --- a/ports/stm32/boards/stm32f429.ld +++ b/ports/stm32/boards/stm32f429.ld @@ -26,4 +26,4 @@ _estack = ORIGIN(RAM) + LENGTH(RAM); _ram_start = ORIGIN(RAM); _ram_end = ORIGIN(RAM) + LENGTH(RAM); _heap_start = _ebss; /* heap starts just after statically allocated memory */ -_heap_end = 0x2001c000; /* tunable */ +_heap_end = 0x2002c000; /* tunable */