mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
picolibc: glue sbrk to heap start/end [v2]
--- v2: Squash fixes in
This commit is contained in:
parent
26c1920cf1
commit
79d733a1af
@ -11,6 +11,10 @@ endif
|
||||
|
||||
ifeq (1,$(USE_PICOLIBC))
|
||||
LINKFLAGS += -specs=picolibc.specs
|
||||
# RIOT uses _sheap and _eheap for heap start and end, PicoLIBC uses
|
||||
# __heap_start and __heap_end. This glues these different names together.
|
||||
LINKFLAGS += -Wl,--defsym=__heap_end=_eheap
|
||||
LINKFLAGS += -Wl,--defsym=__heap_start=_sheap
|
||||
CFLAGS += -specs=picolibc.specs
|
||||
endif
|
||||
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "periph/pm.h"
|
||||
#include "stdio_base.h"
|
||||
|
||||
uint8_t sbrk[1];
|
||||
|
||||
/**
|
||||
* @brief Exit a program without cleaning up files
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user