60const uint8_t*
cnfsGetFile(
const char* fname,
size_t* flen);
61uint8_t*
cnfsReadFile(
const char* fname,
size_t* outsize,
bool readToSpiRam);
uint8_t * cnfsReadFile(const char *fname, size_t *outsize, bool readToSpiRam)
Read a file from CNFS into an output array. Files that are in the assets_image folder before compilat...
Definition cnfs.c:108
bool initCnfs(void)
Initialize the CNFS file system. This is used to store assets like WSGs and fonts.
Definition cnfs.c:35
const uint8_t * cnfsGetFile(const char *fname, size_t *flen)
Get a pointer to a file, without needing to read it. Same rules that apply to cnfsGetFile,...
Definition cnfs.c:67
bool deinitCnfs(void)
De-initialize the CNFS file system (right now a noop)
Definition cnfs.c:53