feat(lcd): add boundary performance test

This commit is contained in:
chenjintao
2026-08-26 14:49:41 +08:00
parent 549f495800
commit f92915057a
43 changed files with 707 additions and 9 deletions
@@ -577,6 +577,20 @@ static void handle_log_command(size_t argc, char *argv[])
}
}
static void handle_lcd_test(void)
{
const domain_expression_request_t request = {
.id = DOMAIN_EXPRESSION_LCD_BOUNDARY_TEST,
.trigger = DOMAIN_EXPRESSION_TRIGGER_FACTORY_LCD_TEST,
};
esp_err_t err = domain_runtime_request_expression(&request);
if (err != ESP_OK) {
cli_write_error("lcd_test_failed");
return;
}
cli_write_ok();
}
static void handle_command_line(char *line)
{
trim_text(line);
@@ -661,6 +675,8 @@ static void handle_command_line(char *line)
handle_prepare_rotate(key_version);
} else if (strcmp(cmd, "log") == 0) {
handle_log_command(argc, argv);
} else if (strcmp(cmd, "lcd_test") == 0) {
handle_lcd_test();
} else {
cli_write_error("unknown_command");
}