Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: Memory management

$
0
0

May be I missed something so let me ask this stupid question: when using Starterware there is no memory management available, means I can't allocate a new buffer using malloc(), right?

Based on this assumption I reserved a memory area by defining a large global array where I store my data into.

The resulting ELF-file had a reasonyble size but the TI-hex-file that is loaded to the RAM becomes very big just because of this large array inside my code.

So...is this really the correct way of allocating/reserving such a buffer?

Thanks!


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>