背景:在cortex_M3使用freeRTOS开启启用运行时间统计功能时。
在编译阶段编译报错:
/data/user_home//build_tools/gcc-arm-none-eabi-/bin/../lib/gcc/arm-none-eabi/6.2.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2: error: ld returned 1 exit status
Makefile:155: recipe for target 'all' failed