From 15826fe5cc0e4e4717a570c6098c403de7528eb2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 2 Mar 2023 12:59:10 -0800 Subject: [PATCH] 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 --- FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/scripts/mps2_m3.ld | 2 ++ 1 file changed, 2 insertions(+) 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 7725e3fc7e..e260c52d7e 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