From f926b8561159adb4236c090b2ecdfa24293551ff Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 20 Feb 2016 17:36:18 +0100 Subject: [PATCH] [Horus] 64K more for Lua --- radio/src/targets/horus/stm32f4_flash.ld | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/radio/src/targets/horus/stm32f4_flash.ld b/radio/src/targets/horus/stm32f4_flash.ld index 2a7a3b134..f127d3f0a 100644 --- a/radio/src/targets/horus/stm32f4_flash.ld +++ b/radio/src/targets/horus/stm32f4_flash.ld @@ -3,8 +3,8 @@ ** ** File : stm32f4_flash.ld ** -** Abstract : Linker script for STM32F407 Device with -** 0.5MByte FLASH, 128KByte SRAM, 64KByte CCM +** Abstract : Linker script for STM32F439 Device with +** 2MByte FLASH, 192KByte SRAM, 64KByte CCM ** ** Set heap size, stack size and stack location according ** to application requirements. @@ -20,8 +20,8 @@ ENTRY(Reset_Handler) /* Highest address of the user mode stack */ -_estack = 0x20020000; /* end of 128K SRAM */ -_heap_end = 0x20020000; /* end of 128K SRAM */ +_estack = 0x10010000; /* end of 64K CCM */ +_heap_end = 0x20030000; /* end of 192K SRAM */ /* Generate a link error if heap and stack don't fit into RAM */ _Min_Heap_Size = 0; /* required amount of heap */ @@ -34,7 +34,7 @@ _main_stack_start = _estack - _Main_Stack_Size; MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K - RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K SDRAM(xrw) : ORIGIN = 0xD0000000, LENGTH = 8192K