Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5381

General • Re: How to store initial / default / factory preset data in Pico flash?

$
0
0
You can create a reserved section in Flash memory to store a flag or a counter that indicates whether the Pico has been initialized or not. Upon startup, the program can check this flag. If it indicates that the Pico has not been initialized yet, it can set default data and update the flag to indicate initialization.

Statistics: Posted by embeddedbarsha — Fri Dec 15, 2023 6:25 am



Viewing all articles
Browse latest Browse all 5381

Trending Articles