How do I programatically access the Flash on my new Omega2?
-
Just as the title asks. I am coding in C. How do I write a value to flash & read it back later?
I suppose others would also like to know how to do it in Python
-
@mawg Since the Omega2 runs Linux, it has a file system, meaning you don't have to directly access flash to store data. Instead you can read from and write to files.
There are plenty of online resources for file I/O:
Here's an example for C : https://www.tutorialspoint.com/cprogramming/c_file_io.htm
And another for Python : https://www.tutorialspoint.com/python/python_files_io.htm