riotboot_flashwrite_t Struct Reference

firmware update state structure More...

Detailed Description

firmware update state structure

FLASHPAGE_SIZE can be very large on some platforms, don't place this struct on the stack or increase the thread stack size accordingly.

Definition at line 66 of file flashwrite.h.

#include <flashwrite.h>

Data Fields

int target_slot
 update targets this slot
size_t offset
 update is at this position
unsigned flashpage
 update is at this flashpage
uint8_t flashpage_buf [FLASHPAGE_SIZE]
 flash writing buffer

The documentation for this struct was generated from the following file: