IAP memory management

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IAP memory management

跳至解决方案
953 次查看
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

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
947 次查看
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.

在原帖中查看解决方案

1 回复
948 次查看
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.