From 394fd4894b161d9d598c16aeb21694cad8748f6c Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Thu, 13 Apr 2017 09:01:26 +1200 Subject: [PATCH] Increase st-link flash allowance to 128K. Although the devices are only documented to have 64K flash, they have been obeserved to have a full 128K, although the undocumented half may be untested and have problems. --- src/platforms/stm32/stlink.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/stm32/stlink.ld b/src/platforms/stm32/stlink.ld index ca03566d..3b4af4ea 100644 --- a/src/platforms/stm32/stlink.ld +++ b/src/platforms/stm32/stlink.ld @@ -20,7 +20,7 @@ /* Define memory regions. */ MEMORY { - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K }