Fix Creality E3 "Free-runs" (#26533)

Followup to #25636
This commit is contained in:
geijt
2023-12-17 23:33:46 +01:00
committed by GitHub
parent 145ab7b1ec
commit 4a89ef6273
4 changed files with 18 additions and 17 deletions

View File

@@ -51,17 +51,17 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFB; /* end of RAM */
_estack = 0x20000000 + LD_MAX_DATA_SIZE; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */
_Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
}
/* Define output sections */