ESP32-Console

This commit is contained in:
2025-01-11 10:03:08 -05:00
parent 693fcd7dd5
commit fcdda7be68

View File

@@ -67,8 +67,9 @@ void app_main(void)
repl_config.prompt = "foxie >";
esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_console_new_repl_uart(&uart_config, &repl_config, &repl));
//esp_console_dev_uart_config_t uart_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
esp_console_dev_usb_serial_jtag_config_t usb_config = ESP_CONSOLE_DEV_USB_SERIAL_JTAG_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_console_new_repl_uart(&usb_config, &repl_config, &repl));
//register_commands();
/*