We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef5173 commit 9c04819Copy full SHA for 9c04819
variants/STM32C0xx/C011J(4-6)M/ldscript.ld
@@ -44,8 +44,8 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
44
/* Memories definition */
45
MEMORY
46
{
47
- RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 6K
48
- FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 16K
+ RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
+ FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
49
}
50
51
/* Sections */
0 commit comments