2017-05-02 12:50 PM
Anyone have suggestions on how to free up additional SRAM? I reduced the Stack to 0x200 and Heap to 0x00 and gained almost 1K of RAM. I need like another 500-600 bytes.
Thanks,
MJ
2017-05-02 01:00 PM
Look at a .MAP file or do some analysis to work out where your resources are currently going.
Can you define things as ''static const'' so they live permanently in FLASH rather than as copies in SRAM?
Can you rework your algorithms to reuse the same memory for different things at different stages?
ie have a bigger stack and use if to scope local/auto variables rather than large static allocations?
Finally