IAP memory management

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IAP memory management

Jump to solution
811 Views
huegi
Contributor I

Hi there

I am actually using the IAP functionality to save some variables into the flash. Do I need to reserve the page I use in the Memory configuration editor, or is the compiler reserving this space during build?

huegi_0-1624705671981.png

I just wonder if this is necessary and could lead to unexpected errors. Currently, I do not reserve the memory and there are no problems.

Thanks for any suggestions
Mario

Labels (1)
0 Kudos
1 Solution
805 Views
converse
Senior Contributor V

If you do not want any memory to be used by 'the compiler' then it is your responsibility to reserve it and make sure it is not used. The compiler (+linker) a free to use any space that is defined in the memory configuration.

View solution in original post

1 Reply
806 Views
converse
Senior Contributor V

If you do not want any memory to be used by 'the compiler' then it is your responsibility to reserve it and make sure it is not used. The compiler (+linker) a free to use any space that is defined in the memory configuration.