|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
#include <fw_install.h>
Data Fields | |
| bool(*) | begin (void *ctx, uint32_t bytes) |
| bool(*) | write (void *ctx, uint32_t off, const uint8_t *src, uint32_t len) |
| bool(*) | finish (void *ctx) |
| void(*) | abort (void *ctx) |
| void * | ctx |
The slot that is not running, as the installer needs it.
| void(*) fw_flash_t::abort(void *ctx) |
Give up after a failed write or finish; the boot slot stays.
| bool(*) fw_flash_t::begin(void *ctx, uint32_t bytes) |
Open the slot for an image of bytes; erases nothing yet.
| bool(*) fw_flash_t::finish(void *ctx) |
Check what is in the slot and make it the one that starts next.
| bool(*) fw_flash_t::write(void *ctx, uint32_t off, const uint8_t *src, uint32_t len) |
Write len bytes at off, erasing what they land in first.