/
File System
File System
Functions
fs_init(overwriteable) - Initializes the filesystem. Creates a file if necessary. Buffer of fixed length is initialized. Sets whether the file can be overwritten or not.
fs_write(data, length) - Writes to the buffer. Checks if it is full and calls fs_dump(buffer) and clears the buffer afterwards
fs_dump(buffer) - Writes the buffer data into a file. If out of storage, either stops writing or begins overwriting from the top of the file.
fs_close() - Closes the file. Called when out of storage or when its been detected that a flight has finished.
, multiple selections available,
Related content
Launch Core
Launch Core
More like this
Logging - GSW-2021
Logging - GSW-2021
More like this
Flight Software Design
Flight Software Design
More like this