Select one of the symbols to view example projects that use it.
 
Outline
initialize_console_peripheral();
initialize_console_library(const char *);
setup_prompt(const char *);
Files
loading...
SourceVuESP-IDF Framework and Examplesadvanced samplemain/console_settings.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ /** * @brief Initialize console peripheral type * * Console peripheral is based on sdkconfig settings * * UART CONFIG_ESP_CONSOLE_UART_DEFAULT * USB_OTG CONFIG_ESP_CONSOLE_USB_CDC * USB_SERIAL_JTAG CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG *//* ... */ void initialize_console_peripheral(void); /** * @brief Initialize linenoise and esp console * * This function initialize linenoise library and esp_console component, * also checks if the terminal supports escape sequences * * @param history_path Path to store command history *//* ... */ void initialize_console_library(const char *history_path); /** * @brief Initialize console prompt * * This function adds color code to the prompt (if the console supports escape sequences) * * @param prompt_str Prompt in form of string eg esp32s3> * * @return * - pointer to initialized prompt *//* ... */ char *setup_prompt(const char *prompt_str);
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.