rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
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
29
extern
"C"
{
30
#endif
31
36
uint32_t
fw_ota_slot_bytes
(
void
);
37
44
bool
fw_ota_running
(
fw_image_info_t
*out);
45
50
const
fw_flash_t
*
fw_ota_flash
(
void
);
51
58
void
fw_ota_note_restart
(
const
char
*version);
59
65
bool
fw_ota_trial_pending
(
void
);
66
84
fw_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 */
fw_image.h
The panel's application image, read from memory: what it is, whether it is whole, and whether it is o...
fw_install.h
Writing a new panel application into the slot that is not running.
fw_ota_trial_pending
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
fw_ota_flash
const fw_flash_t * fw_ota_flash(void)
The slot that is not running, for fw_install_begin().
Definition
fw_ota.c:147
fw_ota_running
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_ota_boot_check
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
fw_ota_note_restart
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
fw_ota_slot_bytes
uint32_t fw_ota_slot_bytes(void)
The slot an update writes.
Definition
fw_ota.c:23
fw_flash_t
Definition
fw_install.h:76
fw_image_info_t
Definition
fw_image.h:83
firmware
panel
components
fw_ota
include
fw_ota.h
Generated by
1.18.0