23#ifndef CONFIG_TINYVCDIFF_MTD_WRITE_SIZE 
   27#define CONFIG_TINYVCDIFF_MTD_WRITE_SIZE 4 
   67#define VCDIFF_MTD_INIT(DEV) { .dev = DEV } 
Context for the underlying MTD device.
 
mtd_dev_t * dev
Instance of the backing MTD device.
 
uint8_t write_buffer[CONFIG_TINYVCDIFF_MTD_WRITE_SIZE]
Buffer for aligned writes.
 
size_t offset
Current offset on the MTD device.
 
size_t next_erase_sector
Number of the next sector that must be erased.
 
const vcdiff_driver_t vcdiff_mtd_driver
Driver for accessing MTD devices.
 
#define CONFIG_TINYVCDIFF_MTD_WRITE_SIZE
Alignment and minimum size for MTD write access.