mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:16:08 +00:00
ESP32-Console
This commit is contained in:
@@ -41,17 +41,18 @@ 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();
|
||||||
repl_config.prompt = "foxie >";
|
|
||||||
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
INITIALIZE COMMANDS
|
INITIALIZE COMMANDS
|
||||||
*/
|
*/
|
||||||
register_commands();
|
register_commands();
|
||||||
|
|
||||||
|
repl_config.prompt = "foxie >";
|
||||||
|
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
START CONSOLE REPL
|
START CONSOLE REPL
|
||||||
*/
|
*/
|
||||||
ESP_ERROR_CHECK(esp_console_start_repl(repl));
|
ESP_ERROR_CHECK(esp_console_start_repl(repl));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user