Home
last modified time | relevance | path

Searched refs:max_cmdline_length (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-3.6.0/components/console/
Desp_console_repl.c41 …size_t max_cmdline_length; // Maximum length of a command line. If 0, default value will … member
55 static esp_err_t esp_console_common_init(size_t max_cmdline_length, esp_console_repl_com_t *repl_co…
84 ret = esp_console_common_init(repl_config->max_cmdline_length, &cdc_repl->repl_com); in esp_console_new_repl_usb_cdc()
160 ret = esp_console_common_init(repl_config->max_cmdline_length, &usb_serial_jtag_repl->repl_com); in esp_console_new_repl_usb_serial_jtag()
253 ret = esp_console_common_init(repl_config->max_cmdline_length, &uart_repl->repl_com); in esp_console_new_repl_uart()
357 static esp_err_t esp_console_common_init(size_t max_cmdline_length, esp_console_repl_com_t *repl_co… in esp_console_common_init() argument
362 repl_com->max_cmdline_length = console_config.max_cmdline_length; in esp_console_common_init()
364 if (max_cmdline_length != 0) { in esp_console_common_init()
365 console_config.max_cmdline_length = max_cmdline_length; in esp_console_common_init()
366 repl_com->max_cmdline_length = max_cmdline_length; in esp_console_common_init()
[all …]
Desp_console.h23 size_t max_cmdline_length; //!< length of command line buffer, in bytes member
35 .max_cmdline_length = 256, \
51 …size_t max_cmdline_length; //!< maximum length of a command line. If 0, default value will be … member
65 .max_cmdline_length = 0, \
Dcommands.c62 s_tmp_line_buf = calloc(config->max_cmdline_length, 1); in esp_console_init()
194 strlcpy(s_tmp_line_buf, cmdline, s_config.max_cmdline_length); in esp_console_run()
/hal_espressif-3.6.0/examples/system/console/advanced/main/
Dconsole_example_main.c104 .max_cmdline_length = 256, in initialize_console()
125 linenoiseSetMaxLineLen(console_config.max_cmdline_length); in initialize_console()
/hal_espressif-3.6.0/components/console/linenoise/
Dlinenoise.c131 static size_t max_cmdline_length = LINENOISE_DEFAULT_MAX_LINE; variable
1127 char *buf = calloc(1, max_cmdline_length); in linenoise()
1133 count = linenoiseRaw(buf, max_cmdline_length, prompt); in linenoise()
1135 count = linenoiseDumb(buf, max_cmdline_length, prompt); in linenoise()
1262 char *buf = calloc(1, max_cmdline_length); in linenoiseHistoryLoad()
1268 while (fgets(buf, max_cmdline_length, fp) != NULL) { in linenoiseHistoryLoad()
1290 max_cmdline_length = len; in linenoiseSetMaxLineLen()
/hal_espressif-3.6.0/examples/system/console/basic/main/
Dconsole_example_main.c74 repl_config.max_cmdline_length = CONFIG_CONSOLE_MAX_COMMAND_LINE_LENGTH; in app_main()
/hal_espressif-3.6.0/examples/system/console_usb/main/
Dconsole_usb_example_main.c51 .max_cmdline_length = 256, in initialize_console()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/
Dmain.c70 .max_cmdline_length = 256, in initialize_console()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph/main/
Dscli.c106 .max_cmdline_length = 256, in scli_task()
/hal_espressif-3.6.0/components/protocomm/src/transports/
Dprotocomm_console.c85 .max_cmdline_length = LINE_BUF_SIZE, in protocomm_console_task()
/hal_espressif-3.6.0/tools/test_idf_size/
Doverflow.map32681 .data.max_cmdline_length
Doverflow_esp32s2.map33533 .data.max_cmdline_length