We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76bda12 commit fcee061Copy full SHA for fcee061
1 file changed
Linker/STM32H7xx.ld
@@ -53,7 +53,7 @@
53
ENTRY(Reset_Handler)
54
55
/* Highest address of the user mode stack */
56
-_estack = 0x20020000; /* end of RAM */
+_estack = ORIGIN(DTCMRAM) + LENGTH(DTCMRAM); /* end of RAM */
57
/* Generate a link error if heap and stack don't fit into RAM */
58
_Min_Heap_Size = 0x200; /* required amount of heap */
59
_Min_Stack_Size = 0x400; /* required amount of stack */
@@ -62,7 +62,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
62
MEMORY
63
{
64
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
65
-RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
+RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 128K
66
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
67
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
68
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
0 commit comments