1
Microcontrollers / Re: Memory model for Microcontrollers
« Last post by PlainName on Today at 09:30:24 pm »Quote
When you only have 2K of RAM you don't waste it with the usage of malloc
Dynamically allocating storage can allow you to store more things than you have space for had you used static allocation. You just can't store them all at the same time, but that may be perfectly OK in the application. For a small micro you would probably have a combination, with dynamic memory being allocated from a block of statically allocated memory.