We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi All,
I am using EFM32GG11 cpu and have problem with malloc function. It crashes on the first call.
I have specified stack and heap areas in the scatter file.
I would like to debug through malloc function. I am using the standart C library linked to my keil MDK 5 project,
How could i build c runtime and link it to my project?
Thanks,
Unfortunately i am not using MicroLib. I am using default C library. (no check in Keil Project options for Use MicroLib).
Currently i can't understand one issue. I have specified the scatter file to the linker. I have
ARM_LIB_HEAP 0x2007F000 EMPTY HeapSize { }
line.
Nut in .map file i see
HEAP 0x20019cc8 Section 3072 startup_efm32gg11b.o(HEAP) Heap_Mem 0x20019cc8 Data 3072 startup_efm32gg11b.o(HEAP)
Why address is 0x20019cc8 and not 0x2007F000 ? I can't understand.