|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Classes | |
| struct | boot_report_t |
Macros | |
| #define | BOOT_REPORT_TEXT_MAX 768U |
Enumerations | |
| enum | boot_verdict_t { BOOT_READY = 0 , BOOT_WARN , BOOT_FAIL } |
Functions | |
| void | boot_report_build (boot_report_t *report, const self_test_status_t *status, battery_t battery, uint32_t now_ms) |
| const char * | boot_verdict_name (boot_verdict_t verdict) |
| #define BOOT_REPORT_TEXT_MAX 768U |
Definition at line 32 of file boot_report.h.
| enum boot_verdict_t |
| Enumerator | |
|---|---|
| BOOT_READY | |
| BOOT_WARN | |
| BOOT_FAIL | |
Definition at line 30 of file boot_report.h.
| void boot_report_build | ( | boot_report_t * | report, |
| const self_test_status_t * | status, | ||
| battery_t | battery, | ||
| uint32_t | now_ms ) |
Definition at line 81 of file boot_report.c.
References self_test_device_status_t::attempts, battery(), BATTERY_FAIL, BATTERY_INVALID, battery_state_name(), BATTERY_UNKNOWN, BATTERY_WARN, BOOT_FAIL, BOOT_READY, boot_verdict_name(), BOOT_WARN, self_test_status_t::device_count, self_test_device_status_t::device_id, device_name(), self_test_status_t::devices, self_test_reply_t::diagnostic, put(), r, self_test_device_status_t::reply, self_test_device_status_t::required, self_test_reply_t::result, result_name(), SELF_TEST_DEVICE_GNSS, SELF_TEST_MAX_DEVICES, and SELF_TEST_PASS.
Referenced by bringup_task(), test_all_pass_on_battery_is_ready(), test_gps_reports_its_baud(), test_optional_chip_or_low_battery_is_warn(), test_required_chip_or_bad_battery_is_fail(), and test_usb_is_not_judged().
| const char * boot_verdict_name | ( | boot_verdict_t | verdict | ) |
Definition at line 49 of file boot_report.c.
References BOOT_READY, and BOOT_WARN.
Referenced by boot_report_build().