So ive been reading into the new filesystem implemented in 2b09 and ive come into having a few questions for example:
Is there any way to save non string variables to memory?
i’ll edit in anything else i run into after finishing reading all the documentation
In standard C, a file is just a set of bytes, since chars are bytes and strings are just sequences of chars you get…
FILE == Set of BYTES
CHAR == BYTE
STING == Set of CHARS
Therefore…
STING == Set of (BYTES)
STING == FILE
See fread and fwrite for storing data.
I should be clear here that this is to read and write to ROM, not RAM - use malloc for that.