Hi everybody !
I have a section of my code that needs to be executed only once (at the first reset following my MCU programmation).
To achieve it, I was thinking about using the INFO flash segment.
1 - when programming the MCU, writing a boolean to 1 in flash
2 - reset it a first execution
I'm able to read/write into flash, but I'm looking for a way to store my boolean value when programming my MCU. I'm assuming it's just a #pragma I cannot find.
Thank you for your help ;)
Laurent