rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
fw_ota.h
Go to the documentation of this file.
1
17
18#ifndef RCBENCH_FW_OTA_H
19#define RCBENCH_FW_OTA_H
20
21#include <stdbool.h>
22#include <stdint.h>
23
24#include "fw_boot.h"
25#include "fw_image.h"
26#include "fw_install.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
36uint32_t fw_ota_slot_bytes(void);
37
45
50const fw_flash_t *fw_ota_flash(void);
51
58void fw_ota_note_restart(const char *version);
59
65bool fw_ota_trial_pending(void);
66
84fw_boot_t fw_ota_boot_check(bool ui_up, char *other, uint32_t other_cap);
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif /* RCBENCH_FW_OTA_H */
The panel's application image, read from memory: what it is, whether it is whole, and whether it is o...
Writing a new panel application into the slot that is not running.
bool fw_ota_trial_pending(void)
Whether the running build is on its first start after an update (pending verify), and fw_ota_boot_che...
Definition fw_ota.c:253
const fw_flash_t * fw_ota_flash(void)
The slot that is not running, for fw_install_begin().
Definition fw_ota.c:147
bool fw_ota_running(fw_image_info_t *out)
The running build: version and ELF (executable and linkable format) SHA-256, as fw_offer() compares t...
Definition fw_ota.c:29
fw_boot_t fw_ota_boot_check(bool ui_up, char *other, uint32_t other_cap)
Once per start: with ui_up false at the display or touch failing, or with ui_up true once the start i...
Definition fw_ota.c:264
void fw_ota_note_restart(const char *version)
Before the restart into a written slot: what the next start reports when that build does not stay....
Definition fw_ota.c:179
uint32_t fw_ota_slot_bytes(void)
The slot an update writes.
Definition fw_ota.c:23
Definition fw_install.h:76
Definition fw_image.h:83