fw: drivers: add AS7000 HRM driver code/demo app

This commit is contained in:
Liam McLoughlin 2025-02-13 11:40:38 +00:00
parent f19ace2e3c
commit 5b5d49cb49
15 changed files with 1809 additions and 6 deletions

View file

@ -268,6 +268,8 @@ extern void command_low_power_debug(char *enable_arg);
extern void command_audit_delay_us(void);
extern void command_enter_stop(void);
extern void dialog_test_cmds(void);
extern void command_dump_notif_pref_db(void);
extern void command_bt_conn_param_set(
@ -284,6 +286,12 @@ extern void command_btle_pa_set(char *option);
extern void command_btle_unmod_tx_start(char *tx_channel);
extern void command_btle_unmod_tx_stop(void);
#if CAPABILITY_HAS_BUILTIN_HRM
extern void command_hrm_read(void);
extern void command_hrm_wipe(void);
extern void command_hrm_freeze(void);
#endif
#if MFG_INFO_RECORDS_TEST_RESULTS
extern void command_mfg_info_test_results(void);
#endif
@ -467,6 +475,12 @@ static const Command s_prompt_commands[] = {
#endif // PLATFORM_TINTIN
#endif // RECOVERY_FW
#if CAPABILITY_HAS_BUILTIN_HRM
{ "hrm read", command_hrm_read, 0},
{ "hrm wipe", command_hrm_wipe, 0},
{ "hrm freeze", command_hrm_freeze, 0},
#endif
#if CAPABILITY_HAS_ACCESSORY_CONNECTOR
{ "accessory power", command_accessory_power_set, 1 },
{ "accessory stress", command_accessory_stress_test, 0 },