Setup
Keil: uVision 5.17.0.0 ARM: LPC1768 A standard project with some UARTS and I2C "Use memory Layout form target" is checked (using the standard scatter file) "Use MicroLIB" is not checked
from startup_LPC17xx.s Heap_Size EQU 0x00002000
AREA HEAP, NOINIT, READWRITE, ALIGN=3 __heap_base Heap_Mem SPACE Heap_Size __heap_limit
Problem Any call to malloc returns NULL, that is, the system can not allocate memory.
Why does not the mallco work, is my only options to 1) Use microLIB 2) Implement _init_alloc() and __rt_heap_extend() on my own
?
Regards Stefan