Add Network Tools And Nested Command Completion

This commit is contained in:
2026-08-23 15:47:28 +02:00
parent c5f3595173
commit f9d3e9ece5
12 changed files with 1141 additions and 94 deletions
+5
View File
@@ -1,8 +1,10 @@
#include "driver/uart.h"
#include "console_completion.h"
#include "esp_console.h"
#include "esp_err.h"
#include "esp_log.h"
#include "esp_psram.h"
#include "network_console.h"
#include "rs232_hw_test.h"
#include "rs232_port_owner.h"
#include "serial_config.h"
@@ -129,6 +131,9 @@ void app_main(void)
ESP_ERROR_CHECK(session_console_register_commands());
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. */
console_completion_install();
ESP_ERROR_CHECK(esp_console_start_repl(repl));
ESP_LOGI(TAG, "Interactive test console ready at %d baud", CONSOLE_BAUD_RATE);