I have a project requirement where I need to store the sensor readings in RAM and few configurations in flash memory.
Now I want now what is the maximum RAM space and Flash memory space I can utilize to store the data. @beegee could you please help me out here?
Free RAM and Flash size depend mainly on your application size and how much RAM your application uses for variables, structures, stack.
Check the output of your compiler. You will get some information there.
For RAM, stack is allocated temporarily, if you use up all, your app will most likely crash.
How much you can use, I don’t know.
For Flash, you might be able to use all, but don’t write too often to it, it has a limited number of write cycles.