usb_serial_jtag: Add blocking driver to support vfs.

This commit is contained in:
Cao Sen Miao
2021-04-23 15:46:02 +08:00
parent 9ab1c4c9e0
commit 671303bbd5
13 changed files with 536 additions and 2 deletions

View File

@@ -204,6 +204,9 @@ void app_main(void)
#elif CONFIG_ESP_CONSOLE_USB_CDC
esp_console_dev_usb_cdc_config_t cdc_config = ESP_CONSOLE_DEV_CDC_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_console_new_repl_usb_cdc(&cdc_config, &repl_config, &s_repl));
#elif CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
esp_console_dev_usb_serial_jtag_config_t usbjtag_config = ESP_CONSOLE_DEV_USB_SERIAL_JTAG_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_console_new_repl_usb_serial_jtag(&usbjtag_config, &repl_config, &repl));
#endif
/* register command `ping` */