mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 13:40:52 +00:00
ESP32-Console
This commit is contained in:
@@ -37,9 +37,12 @@ void app_main(void)
|
|||||||
{
|
{
|
||||||
esp_console_repl_t *repl = NULL;
|
esp_console_repl_t *repl = NULL;
|
||||||
esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
||||||
|
esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
|
||||||
|
|
||||||
initialize_nvs();
|
initialize_nvs();
|
||||||
|
|
||||||
|
esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
|
||||||
|
|
||||||
repl_config.prompt = "foxie >";
|
repl_config.prompt = "foxie >";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user