Add reboot command and late terminal activation

This commit is contained in:
2026-08-23 16:14:19 +02:00
parent f9d3e9ece5
commit 0dcc0d20d4
8 changed files with 86 additions and 2 deletions
+3 -1
View File
@@ -13,6 +13,7 @@
#include "session_broker.h"
#include "session_console.h"
#include "status_led.h"
#include "system_console.h"
#include "usb_cdc_transport.h"
#include "usb_console.h"
#include "wifi_config.h"
@@ -132,7 +133,8 @@ void app_main(void)
ESP_ERROR_CHECK(usb_console_register_commands());
ESP_ERROR_CHECK(wifi_console_register_commands());
ESP_ERROR_CHECK(network_console_register_root_commands());
/* ESP-IDF handles root completion; this wrapper adds nested subcommands. */
ESP_ERROR_CHECK(system_console_register_commands());
/* Upgrade late UART terminals safely and add nested completion. */
console_completion_install();
ESP_ERROR_CHECK(esp_console_start_repl(repl));