When uploading a application with PlatformIO the memory usage is shown:
Memory Usage → Redirecting...
DATA: [==== ] 35.3% (used 11580 bytes from 32768 bytes)
PROGRAM: [======= ] 73.6% (used 385844 bytes from 524288 bytes)
I have understood, that the program section contains the application itself - so the code that I’ve written.
In the data section, the running application (the values of variables, etc) are saved.
I was expecting, that the Data portion is bigger?
It has about 32KB, but the SRAM has a total size of 96KB. Are the other 64KB used for other things? Why are they not shown in the memory usage diagram?