Closed frroossst closed 1 year ago
we won't need to do that if we can figure out a good layout to store the data. e.g. with a value table stored on the fram or a preregistered address for each variable. I still have doubts on how your initially proposed solution of interweaving the data could work
This was something I saw on the cubesat codebase and thought it was neat.
Could you elaborate on what you mean by the interweaving data? If you're referring to the fancy way of trying to save space with floats then that wouldn't be a priority right now :)
Initial code: https://github.com/USSTR-Avionics/Avionics_code/pull/51
Code requires testing but everything is mainly there with this commit a5b916d6fb989be90598b35d11d0a04c3b80aae1
Store FRAM read and write cursors on the FRAM itself when they are updated. This allows us to not loose data or overwrite important data