|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| const wa_http_t * | http |
| uint32_t(*) | now (void *ctx) |
| bool(*) | stopped (void *ctx) |
| void(*) | report (void *ctx, wa_phase_t ph, uint32_t done, uint32_t total) |
| uint8_t *(*) | alloc (void *ctx, uint32_t bytes) |
| void * | ctx |
| uint32_t | start_ms |
| uint32_t | budget_ms |
| uint32_t | slot |
| fw_version_t | running |
| bool | running_ok |
| wa_channel_t | channel |
| char * | url |
| char * | loc |
| uint8_t * | io |
| uint32_t | io_cap |
| char * | sums |
| fw_upload_t * | up |
| uint8_t *(*) wa_run_t::alloc(void *ctx, uint32_t bytes) |
A buffer of bytes for the image, in PSRAM on the panel; NULL for none. The runner keeps it in up; the platform frees it.
| uint32_t wa_run_t::budget_ms |
from start_ms
| wa_channel_t wa_run_t::channel |
CHECK
| uint8_t* wa_run_t::io |
a read's piece
| char* wa_run_t::loc |
FW_REL_URL_MAX + 1 bytes
| void(*) wa_run_t::report(void *ctx, wa_phase_t ph, uint32_t done, uint32_t total) |
A phase begun, and the image's bytes so far; may be NULL.
| bool wa_run_t::running_ok |
running parsed from the build's version
| uint32_t wa_run_t::slot |
the largest image taken, in bytes
| uint32_t wa_run_t::start_ms |
the job's
| bool(*) wa_run_t::stopped(void *ctx) |
Whether the job has been ended from outside; asked between steps.
| char* wa_run_t::sums |
FW_REL_SUMS_MAX bytes
| fw_upload_t* wa_run_t::up |
DOWNLOAD: the image, staged on success
| char* wa_run_t::url |
FW_REL_URL_MAX + 1 bytes