UMass-Rocket-Team / Payload_2025

0 stars 0 forks source link

Add SD support #9

Open ZegesMenden opened 2 weeks ago

ZegesMenden commented 2 weeks ago

Writing an SD interface from scratch would be a huge pain, so we should probably use this implementation for the pico: https://github.com/carlk3/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico The interface provided by this driver is a bit clunky, and it would be more convenient if our driver could just be an interface for a CSV file, so maybe functions for: new file, write line, mount / dismount storage?

JoshuaMekala commented 1 day ago

read through every data log file, parse through till you find the last one and make a new one. Write function to write into that data log file. Close function to close the data log file.

Basically: