We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c5bd2 commit 35cf5acCopy full SHA for 35cf5ac
variants/BLUEPILL_F103C8/ldscript.ld
@@ -5,7 +5,7 @@
5
** File : ldscript.ld
6
**
7
** Abstract : Linker script for STM32F103C(8-B)Tx Device with
8
-** 64/128KByte FLASH, 20KByte RAM
+** 32/64/128KByte FLASH, 10/20KByte RAM
9
10
** Set heap size, stack size and stack location according
11
** to application requirements.
@@ -52,7 +52,7 @@
52
ENTRY(Reset_Handler)
53
54
/* Highest address of the user mode stack */
55
-_estack = 0x20005000; /* end of RAM */
+_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of RAM */
56
/* Generate a link error if heap and stack don't fit into RAM */
57
_Min_Heap_Size = 0x200; /* required amount of heap */
58
_Min_Stack_Size = 0x400; /* required amount of stack */
0 commit comments