Today I downloaded the latest SparkCore firmware from GitHub and tried it together with my own application.
Unfortunaltely I got a SOS Heap error (flashing red 8 times after SOS).
When I looked at the memory usage I saw a big increase of the used RAM memory (data + bss), exeeding the 16K limit.
- In the old situation the RAM usage was 3032 + 12356 = 15388 bytes
- In the new situation the RAM usage is 3212 + 13400 = 16612 bytes
Without changing my own application the memory usage has increased with 1224 bytes, resulting in the heap errror.
Is there a way to reduce the RAM usage from the SparkCore?
I have put quite some effort in reducing the amount of RAM of my own application, I don’t know how reduce it with roughly 612 bytes again.
Here the info after building:
**OLD SparkCore firmware from 28-april-2014 + my own application** Invoking: ARM GNU Print Size arm-none-eabi-size --format=berkeley core-firmware.elf text data bss dec hex filename 89900 3032 12356 105288 19b48 core-firmware.elf **NEW SparkCore firmware from 15-may-2014 + my own application** Invoking: ARM GNU Print Size arm-none-eabi-size --format=berkeley core-firmware.elf text data bss dec hex filename 92244 3212 13400 108856 1a938 core-firmware.elf