ESP32-Console

This commit is contained in:
2025-01-11 09:30:13 -05:00
parent 03d59a67b4
commit 4dc132c163

View File

@@ -58,7 +58,8 @@ void app_main(void)
//esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT(); //esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT();
initialize_nvs(); initialize_nvs();
initialize_filesystem(); //initialize_filesystem();
//repl_config.history_save_path = HISTORY_PATH;
/* /*
INITIALIZE COMMANDS INITIALIZE COMMANDS
@@ -66,7 +67,7 @@ void app_main(void)
register_commands(); register_commands();
repl_config.prompt = "foxie >"; repl_config.prompt = "foxie >";
repl_config.history_save_path = HISTORY_PATH;
//repl_config.max_cmdline_length = CONFIG_CONSOLE_MAX_COMMAND_LINE_LENGTH; //repl_config.max_cmdline_length = CONFIG_CONSOLE_MAX_COMMAND_LINE_LENGTH;
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl)); ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));