Lines Matching refs:dev_config
64 esp_err_t esp_console_new_repl_usb_cdc(const esp_console_dev_usb_cdc_config_t *dev_config, const es… in esp_console_new_repl_usb_cdc() argument
68 if (!repl_config | !dev_config | !ret_repl) { in esp_console_new_repl_usb_cdc()
128 esp_err_t esp_console_new_repl_uart(const esp_console_dev_uart_config_t *dev_config, const esp_cons… in esp_console_new_repl_uart() argument
132 if (!repl_config | !dev_config | !ret_repl) { in esp_console_new_repl_uart()
151 esp_vfs_dev_uart_port_set_rx_line_endings(dev_config->channel, ESP_LINE_ENDINGS_CR); in esp_console_new_repl_uart()
153 esp_vfs_dev_uart_port_set_tx_line_endings(dev_config->channel, ESP_LINE_ENDINGS_CRLF); in esp_console_new_repl_uart()
159 .baud_rate = dev_config->baud_rate, in esp_console_new_repl_uart()
170 uart_param_config(dev_config->channel, &uart_config); in esp_console_new_repl_uart()
171 uart_set_pin(dev_config->channel, dev_config->tx_gpio_num, dev_config->rx_gpio_num, -1, -1); in esp_console_new_repl_uart()
174 ret = uart_driver_install(dev_config->channel, 256, 0, 0, NULL, 0); in esp_console_new_repl_uart()
180 esp_vfs_dev_uart_use_driver(dev_config->channel); in esp_console_new_repl_uart()
204 uart_repl->uart_channel = dev_config->channel; in esp_console_new_repl_uart()
212 uart_driver_delete(dev_config->channel); in esp_console_new_repl_uart()