Add reboot command and late terminal activation
This commit is contained in:
+3
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user