I want to store some default parameters in my Flash so that during boot-up time, my variables take those default values at start up.
How can I do this?
My controller is MK10DN512ZVLL10. And I am having a bare-metal project with the following build options:
Can you tell me what are these partitions like m_data and m_text for and how I can modify this, if I have to?
I want to specify a few parameters in Flash and let it stay forever. Then during start up, I would like to have a FLAG, if the flag is set, it means to take default parameters (will be our factory default parameters) for variables. If FLAG is clear it means start up the code normally.