|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
Functions | |
| int | kfsw_boot_store_open (void) |
| int | kfsw_boot_store_read (uint8_t *left, uint8_t *maximum) |
| int | kfsw_boot_store_write (uint8_t left, uint8_t maximum) |
| int kfsw_boot_store_open | ( | void | ) |
#include <boot_store.h>
Open the dedicated early-boot flash record.
No filesystem is required. A store NVS refuses to mount as damaged is erased and mounted empty.
| int kfsw_boot_store_read | ( | uint8_t * | left, |
| uint8_t * | maximum | ||
| ) |
#include <boot_store.h>
Read both budget bytes atomically.
Returns -ENOENT for an empty store.
| int kfsw_boot_store_write | ( | uint8_t | left, |
| uint8_t | maximum | ||
| ) |
#include <boot_store.h>
Persist both budget bytes atomically; negative errno on failure.