Home
last modified time | relevance | path

Searched refs:CONFIG_ESP_CONSOLE_UART_NUM (Results 1 – 25 of 104) sorted by relevance

12345

/hal_espressif-3.6.0/examples/common_components/protocol_examples_common/
Dstdin_out.c21 ESP_ERROR_CHECK( uart_driver_install( (uart_port_t)CONFIG_ESP_CONSOLE_UART_NUM, in example_configure_stdin_stdout()
24 esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM); in example_configure_stdin_stdout()
25 esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR); in example_configure_stdin_stdout()
27 esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF); in example_configure_stdin_stdout()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/
Dmain.c44 esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR); in initialize_console()
46 esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF); in initialize_console()
58 ESP_ERROR_CHECK( uart_param_config(CONFIG_ESP_CONSOLE_UART_NUM, &uart_config) ); in initialize_console()
61 ESP_ERROR_CHECK( uart_driver_install(CONFIG_ESP_CONSOLE_UART_NUM, in initialize_console()
65 esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM); in initialize_console()
/hal_espressif-3.6.0/examples/system/console/advanced/main/
Dconsole_example_main.c75 esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR); in initialize_console()
77 esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF); in initialize_console()
94 ESP_ERROR_CHECK( uart_driver_install(CONFIG_ESP_CONSOLE_UART_NUM, in initialize_console()
96 ESP_ERROR_CHECK( uart_param_config(CONFIG_ESP_CONSOLE_UART_NUM, &uart_config) ); in initialize_console()
99 esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM); in initialize_console()
/hal_espressif-3.6.0/zephyr/esp_shared/include/
Dstubs.h45 #define CONFIG_ESP_CONSOLE_UART_NUM 0 macro
52 #define CONFIG_ESP_CONSOLE_UART_NUM 1 macro
59 #define CONFIG_ESP_CONSOLE_UART_NUM 2 macro
65 #define CONFIG_ESP_CONSOLE_UART_NUM -1 macro
/hal_espressif-3.6.0/components/vfs/test/
Dtest_vfs_uart.c34 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in fwrite_str_loopback()
38 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in fwrite_str_loopback()
51 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in flush_stdin_stdout()
80 esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF);
81 esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF);
182 ESP_ERROR_CHECK( uart_driver_install(CONFIG_ESP_CONSOLE_UART_NUM,
184 esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM);
200 esp_vfs_dev_uart_use_nonblocking(CONFIG_ESP_CONSOLE_UART_NUM);
201 uart_driver_delete(CONFIG_ESP_CONSOLE_UART_NUM);
/hal_espressif-3.6.0/examples/network/network_tests/main/
Dstdinout.c147 ESP_ERROR_CHECK( uart_driver_install( (uart_port_t)CONFIG_ESP_CONSOLE_UART_NUM, in netsuite_io_new()
150 esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM); in netsuite_io_new()
151 esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR); in netsuite_io_new()
153 esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF); in netsuite_io_new()
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32s2/
Dclk.c134 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in esp_clk_init()
231 #if CONFIG_ESP_CONSOLE_UART_NUM != 0 in esp_perip_clk_init()
234 #if CONFIG_ESP_CONSOLE_UART_NUM != 1 in esp_perip_clk_init()
268 #if CONFIG_ESP_CONSOLE_UART_NUM != 0 in esp_perip_clk_init()
271 #if CONFIG_ESP_CONSOLE_UART_NUM != 1 in esp_perip_clk_init()
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32/
Dclk.c189 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in esp_clk_init()
260 #if CONFIG_ESP_CONSOLE_UART_NUM != 0 in esp_perip_clk_init()
263 #if CONFIG_ESP_CONSOLE_UART_NUM != 1 in esp_perip_clk_init()
266 #if CONFIG_ESP_CONSOLE_UART_NUM != 2 in esp_perip_clk_init()
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/
Dcmd_system.c285 if (CONFIG_ESP_CONSOLE_UART_NUM <= UART_NUM_1) { in light_sleep()
287 ESP_ERROR_CHECK( uart_set_wakeup_threshold(CONFIG_ESP_CONSOLE_UART_NUM, 3) ); in light_sleep()
288 ESP_ERROR_CHECK( esp_sleep_enable_uart_wakeup(CONFIG_ESP_CONSOLE_UART_NUM) ); in light_sleep()
291 uart_wait_tx_idle_polling(CONFIG_ESP_CONSOLE_UART_NUM); in light_sleep()
/hal_espressif-3.6.0/examples/system/console/advanced/components/cmd_system/
Dcmd_system.c317 if (CONFIG_ESP_CONSOLE_UART_NUM >= 0 && CONFIG_ESP_CONSOLE_UART_NUM <= UART_NUM_1) { in light_sleep()
319 ESP_ERROR_CHECK( uart_set_wakeup_threshold(CONFIG_ESP_CONSOLE_UART_NUM, 3) ); in light_sleep()
320 ESP_ERROR_CHECK( esp_sleep_enable_uart_wakeup(CONFIG_ESP_CONSOLE_UART_NUM) ); in light_sleep()
/hal_espressif-3.6.0/components/esp_system/
Desp_system.c32 if (CONFIG_ESP_CONSOLE_UART_NUM >= 0) { in esp_restart_noos_dig()
33 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in esp_restart_noos_dig()
Dsdkconfig.rename31 CONFIG_CONSOLE_UART_NUM CONFIG_ESP_CONSOLE_UART_NUM
/hal_espressif-3.6.0/components/console/
Desp_console.h82 .channel = CONFIG_ESP_CONSOLE_UART_NUM, \
90 .channel = CONFIG_ESP_CONSOLE_UART_NUM, \
Desp_console_repl.c99 cdc_repl->uart_channel = CONFIG_ESP_CONSOLE_UART_NUM; in esp_console_new_repl_usb_cdc()
184 usb_serial_jtag_repl->uart_channel = CONFIG_ESP_CONSOLE_UART_NUM; in esp_console_new_repl_usb_serial_jtag()
468 if (uart_channel != CONFIG_ESP_CONSOLE_UART_NUM) { in esp_console_repl_task()
/hal_espressif-3.6.0/zephyr/esp32/src/boot/
Dbootloader_init.c49 (CONFIG_ESP_CONSOLE_UART_NUM == 0) ? &UART0 :
50 (CONFIG_ESP_CONSOLE_UART_NUM == 1) ? &UART1 : &UART2;
/hal_espressif-3.6.0/components/esp_system/port/
Dcpu_start.c172 esp_rom_uart_set_as_console(CONFIG_ESP_CONSOLE_UART_NUM); in call_start_cpu1()
542 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM);
543 …esp_rom_uart_set_clock_baudrate(CONFIG_ESP_CONSOLE_UART_NUM, clock_hz, CONFIG_ESP_CONSOLE_UART_BAU…
/hal_espressif-3.6.0/components/vfs/
Dvfs_console.c56 …rimary = get_vfs_for_path(primary_path)->vfs.open("/"STRINGIFY(CONFIG_ESP_CONSOLE_UART_NUM), flags… in console_open()
114 … get_vfs_for_index(primary_vfs_index)->vfs.access("/"STRINGIFY(CONFIG_ESP_CONSOLE_UART_NUM), amode… in console_access()
/hal_espressif-3.6.0/components/esp_system/port/soc/esp32s3/
Dclk.c133 if (CONFIG_ESP_CONSOLE_UART_NUM >= 0) { in esp_clk_init()
134 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in esp_clk_init()
/hal_espressif-3.6.0/components/bootloader_support/src/
Dbootloader_console_loader.c70 esp_rom_uart_flush_tx(CONFIG_ESP_CONSOLE_UART_NUM); in bootloader_console_deinit()
Dbootloader_console.c49 const int uart_num = CONFIG_ESP_CONSOLE_UART_NUM; in bootloader_console_init()
/hal_espressif-3.6.0/examples/system/light_sleep/main/
Dlight_sleep_example_main.c65 uart_wait_tx_idle_polling(CONFIG_ESP_CONSOLE_UART_NUM); in app_main()
/hal_espressif-3.6.0/components/unity/
Dunity_port_esp32.c47 esp_rom_uart_tx_wait_idle(CONFIG_ESP_CONSOLE_UART_NUM); in unity_flush()
/hal_espressif-3.6.0/components/esp_gdbstub/esp_common/
Dgdbstub_common.c21 #define UART_NUM CONFIG_ESP_CONSOLE_UART_NUM
/hal_espressif-3.6.0/examples/storage/semihost_vfs/main/
Dsemihost_vfs_example_main.c55 stdout = freopen("/dev/uart/" STRINGIFY(CONFIG_ESP_CONSOLE_UART_NUM), "w", fout); in app_main()
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_pm/
Dpm_impl.c711 while(!uart_ll_is_tx_idle(UART_LL_GET_HW(CONFIG_ESP_CONSOLE_UART_NUM)));
713 uart_ll_set_sclk(UART_LL_GET_HW(CONFIG_ESP_CONSOLE_UART_NUM), clk_source);
714 …uart_ll_set_baudrate(UART_LL_GET_HW(CONFIG_ESP_CONSOLE_UART_NUM), CONFIG_ESP_CONSOLE_UART_BAUDRATE…

12345