[Horus] 64K more for Lua

This commit is contained in:
Bertrand Songis
2016-02-20 17:36:18 +01:00
parent 401f0f2a4f
commit f926b85611
+5 -5
View File
@@ -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