feat(board): align new-board inputs and factory runtime
This commit is contained in:
@@ -1901,6 +1901,15 @@ esp_err_t control_plane_start_runtime_workers(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_TQ_FACTORY_CLI_ENABLE
|
||||
esp_err_t factory_cli_err = control_plane_factory_cli_start();
|
||||
if (factory_cli_err != ESP_OK) {
|
||||
ESP_LOGW(TAG,
|
||||
"Optional factory CLI unavailable; core runtime remains active: %s",
|
||||
esp_err_to_name(factory_cli_err));
|
||||
}
|
||||
#endif
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
@@ -1938,6 +1947,10 @@ void control_plane_stop_runtime_workers(void)
|
||||
control_plane_set_runtime_stop_requested(true);
|
||||
control_plane_stop_user_config_server();
|
||||
|
||||
#if CONFIG_TQ_FACTORY_CLI_ENABLE
|
||||
control_plane_factory_cli_stop();
|
||||
#endif
|
||||
|
||||
(void)control_plane_register_model_command_callback(NULL, NULL);
|
||||
#if CONFIG_FORTUNE_ENABLE
|
||||
domain_runtime_register_birth_profile_observer(NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user