28 #define FLASHFS_WRITE_BUFFER_SIZE 128 29 #define FLASHFS_WRITE_BUFFER_USABLE (FLASHFS_WRITE_BUFFER_SIZE - 1) 32 #define FLASHFS_WRITE_BUFFER_AUTO_FLUSH_LEN 64 45 void flashfsWrite(
const uint8_t * data,
unsigned int len,
bool sync);
46 int flashfsReadAbs(uint32_t offset, uint8_t *data,
unsigned int len);
void flashfsWrite(const uint8_t *data, unsigned int len, bool sync)
int flashfsIdentifyStartOfFreeSpace()
int flashfsReadAbs(uint32_t offset, uint8_t *data, unsigned int len)
uint32_t flashfsGetWriteBufferFreeSpace()
void flashfsEraseRange(uint32_t start, uint32_t end)
uint32_t flashfsGetOffset()
void flashfsWriteByte(uint8_t byte)
uint32_t flashfsGetWriteBufferSize()
void flashfsEraseCompletely()
void flashfsSeekAbs(uint32_t offset)
const flashGeometry_t * flashfsGetGeometry()
uint32_t flashfsGetSize()
void flashfsSeekRel(int32_t offset)