summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithpac@amazon.com>2023-03-02 12:59:10 -0800
committerPaul Bartell <paul.bartell@gmail.com>2023-03-30 12:32:55 -0700
commit15826fe5cc0e4e4717a570c6098c403de7528eb2 (patch)
treec5702e39e55b57c94834db90885368b82707f5a3
parent642c495fcb8e0ad4790abb1cb3e5bd8f54a39956 (diff)
downloadfreertos-git-15826fe5cc0e4e4717a570c6098c403de7528eb2.tar.gz
Demo/CORTEX_M3_MPS2_QEMU_GCC: Define symbols needed for picolibc sbrk implementation
Picolibc has an internal version of sbrk that uses slightly different symbol names than the demo provides. Add these in the linker script. Signed-off-by: Keith Packard <keithpac@amazon.com>
-rw-r--r--FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld
index 7725e3fc7..e260c52d7 100644
--- a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld
+++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld
@@ -144,8 +144,10 @@ SECTIONS
PROVIDE ( end = . );
PROVIDE ( _end = . );
_heap_bottom = .;
+ __heap_start = .;
. = . + _Min_Heap_Size;
_heap_top = .;
+ __heap_end = .;
. = . + _Min_Stack_Size;
. = ALIGN(8);
} >RAM