Lines Matching refs:uart_repl
204 esp_console_repl_universal_t *uart_repl = NULL; in esp_console_new_repl_uart() local
210 uart_repl = calloc(1, sizeof(esp_console_repl_universal_t)); in esp_console_new_repl_uart()
211 if (!uart_repl) { in esp_console_new_repl_uart()
253 ret = esp_console_common_init(repl_config->max_cmdline_length, &uart_repl->repl_com); in esp_console_new_repl_uart()
259 …_setup_history(repl_config->history_save_path, repl_config->max_history_len, &uart_repl->repl_com); in esp_console_new_repl_uart()
265 esp_console_setup_prompt(repl_config->prompt, &uart_repl->repl_com); in esp_console_new_repl_uart()
268 uart_repl->uart_channel = dev_config->channel; in esp_console_new_repl_uart()
269 uart_repl->repl_com.state = CONSOLE_REPL_STATE_INIT; in esp_console_new_repl_uart()
270 uart_repl->repl_com.repl_core.del = esp_console_repl_uart_delete; in esp_console_new_repl_uart()
275 … uart_repl, repl_config->task_priority, &uart_repl->repl_com.task_hdl) != pdTRUE) { in esp_console_new_repl_uart()
280 *ret_repl = &uart_repl->repl_com.repl_core; in esp_console_new_repl_uart()
283 if (uart_repl) { in esp_console_new_repl_uart()
286 free(uart_repl); in esp_console_new_repl_uart()
399 …esp_console_repl_universal_t *uart_repl = __containerof(repl_com, esp_console_repl_universal_t, re… in esp_console_repl_uart_delete() local
408 esp_vfs_dev_uart_use_nonblocking(uart_repl->uart_channel); in esp_console_repl_uart_delete()
409 uart_driver_delete(uart_repl->uart_channel); in esp_console_repl_uart_delete()
410 free(uart_repl); in esp_console_repl_uart_delete()