Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 75) sorted by relevance

123

/hal_espressif-latest/tools/esptool_py/esptool/
Dreset.py32 def __init__(self, port, reset_delay=DEFAULT_RESET_DELAY): argument
33 self.port = port
45 if not self.port.isOpen():
46 self.port.open()
61 self.port.close()
68 self.port.setDTR(state)
71 self.port.setRTS(state)
75 self.port.setDTR(self.port.dtr)
79 "I", fcntl.ioctl(self.port.fileno(), TIOCMGET, struct.pack("I", 0))
89 fcntl.ioctl(self.port.fileno(), TIOCMSET, struct.pack("I", status))
[all …]
D__init__.py777 if args.port is None:
781 ser_list = [args.port]
790 if args.port is None or args.chip == "auto":
796 args.port,
805 port=args.port,
1092 for port in list_ports.comports():
1093 if sys.platform == "darwin" and port.device.endswith(
1097 if vids and (port.vid is None or port.vid not in vids):
1099 if pids and (port.pid is None or port.pid not in pids):
1102 port.name is None or all(name not in port.name for name in names)
[all …]
/hal_espressif-latest/components/mbedtls/
DCMakeLists.txt13 set(mbedtls_include_dirs "port/include" "mbedtls/include" "mbedtls/library")
16 list(APPEND mbedtls_include_dirs "port/mbedtls_rom")
93 set(include_dirs "${COMPONENT_DIR}/port/include")
103 include_directories("${COMPONENT_DIR}/port/mbedtls_rom")
109 # Use port specific implementation of net_socket.c instead of one from mbedtls
133 set(mbedtls_target_sources "${COMPONENT_DIR}/port/mbedtls_debug.c"
134 "${COMPONENT_DIR}/port/esp_platform_time.c")
138 "${COMPONENT_DIR}/port/dynamic/esp_mbedtls_dynamic_impl.c"
139 "${COMPONENT_DIR}/port/dynamic/esp_ssl_cli.c"
140 "${COMPONENT_DIR}/port/dynamic/esp_ssl_srv.c"
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Drfc_utils.c143 i, rfc_cb.port.rfc_mcb[i].state); in rfc_alloc_multiplexer_channel()
145 rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel()
146 rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel()
147 rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel()
149 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in rfc_alloc_multiplexer_channel()
150 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) { in rfc_alloc_multiplexer_channel()
153 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED) { in rfc_alloc_multiplexer_channel()
154 rfc_timer_stop (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
157 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
158 return (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel()
[all …]
Dport_api.c242 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveConnection()
276 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveServer()
319 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback()
350 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_ClearKeepHandleFlag()
379 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCallback()
413 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCOCallback()
447 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventMask()
483 p_port = &rfc_cb.port.port[handle - 1]; in PORT_CheckConnection()
522 if ((rfc_cb.port.rfc_mcb[xx].state > RFC_MX_STATE_IDLE) && in PORT_IsOpening()
523 (rfc_cb.port.rfc_mcb[xx].state < RFC_MX_STATE_CONNECTED)) { in PORT_IsOpening()
[all …]
Dport_utils.c66 tPORT *p_port = &rfc_cb.port.port[0]; in port_allocate_port()
74 p_port = &rfc_cb.port.port[yy]; in port_allocate_port()
290 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) in port_find_mcb()
291 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) { in port_find_mcb()
296 i, &rfc_cb.port.rfc_mcb[i], rfc_cb.port.rfc_mcb[i].lcid); in port_find_mcb()
297 return (&rfc_cb.port.rfc_mcb[i]); in port_find_mcb()
335 return (&rfc_cb.port.port[inx - 1]); in port_find_mcb_dlci_port()
355 p_port = &rfc_cb.port.port[i]; in port_find_dlci_port()
385 p_port = &rfc_cb.port.port[i]; in port_find_port()
Drfc_l2cap_if.c131 tL2CAP_ERTM_INFO *ertm_opt = rfc_cb.port.enable_l2cap_ertm ? &rfc_l2c_etm_opt : NULL; in RFCOMM_ConnectInd()
182 rfc_cb.port.port[idx - 1].dlci += 1; in RFCOMM_ConnectCnf()
183 … RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci); in RFCOMM_ConnectCnf()
192 tL2CAP_ERTM_INFO *ertm_opt = rfc_cb.port.enable_l2cap_ertm ? &rfc_l2c_etm_opt : NULL; in RFCOMM_ConnectCnf()
Drfc_mx_fsm.c149 ertm_opt = rfc_cb.port.enable_l2cap_ertm ? &rfc_l2c_etm_opt : NULL; in rfc_mx_sm_state_idle()
172 ertm_opt = rfc_cb.port.enable_l2cap_ertm ? &rfc_l2c_etm_opt : NULL; in rfc_mx_sm_state_idle()
261 rfc_cb.port.port[idx - 1].dlci += 1; in rfc_mx_sm_state_wait_conn_cnf()
262 … RFCOMM_TRACE_DEBUG ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci); in rfc_mx_sm_state_wait_conn_cnf()
510 tL2CAP_ERTM_INFO *ertm_opt = rfc_cb.port.enable_l2cap_ertm ? &rfc_l2c_etm_opt : NULL; in rfc_mx_sm_state_disc_wait_ua()
586 if (rfc_cb.port.enable_l2cap_ertm) { in rfc_mx_send_config_req()
Dport_rfc.c206 p_port = &rfc_cb.port.port[0]; in PORT_StartCnf()
266 p_port = &rfc_cb.port.port[0]; in PORT_StartInd()
802 p_port = &rfc_cb.port.port[0]; in PORT_CloseInd()
826 p_port = &rfc_cb.port.port[0]; in Port_TimeOutCloseMux()
963 p_port = &rfc_cb.port.port[i]; in PORT_FlowInd()
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dremote-serial-ports.rst4port that supports `RFC2217 <http://www.ietf.org/rfc/rfc2217.txt>`__ (Telnet) protocol. To do this…
8 esptool.py --port rfc2217://192.168.1.77:4000 flash_id
10 …S automatic resetting are supported over the RFC2217 protocol, the same as for a local serial port.
15port example <http://pyserial.readthedocs.io/en/latest/examples.html#single-port-tcp-ip-serial-bri…
18 …`__. In order to work around this issue, a modified version of the single-port server example call…
30 esptool.py --port rfc2217://ADDRESS_OF_SERVER:4000?ign_set_control flash_id
36 …t support the full RFC2217, it is also possible to specify ``--port socket://<host>:<port>`` synta…
62 All of the remote serial port support comes via pyserial. Read more `here <http://pyserial.readthed…
Dadvanced-options.rst43 Esptool supports connection loops, where the user can specify how many times to try to open a port.…
56 This option is only available if both the ``--port`` and ``--chip`` arguments are set.
146 ``--port-filter <FilterType>=<FilterValue>`` allows limiting ports that will be tried. This can be …
147 with many serial ports. There are a few different types that can be combined. A port must match all…
152 * ``--port-filter vid=0x303A`` matches ports with the Espressif USB VID.
153 * ``--port-filter vid=0x303A --port-filter vid=0x0403`` matches Espressif and FTDI ports by VID.
154 …* ``--port-filter vid=0x303A --port-filter pid=0x0002`` matches Espressif ESP32-S2 in USB-OTG mode…
155 …* ``--port-filter vid=0x303A --port-filter pid=0x1001`` matches Espressif USB-Serial/JTAG unit use…
156 * ``--port-filter name=ttyUSB`` matches ports where the port name contains the specified text.
Dserial-connection.rst20 Note that TX (transmit) on the ESP chip is connected to RX (receive) on the serial port connection,…
24 .. _serial-port-settings:
29 When communicating with the {IDF_TARGET_NAME} ROM serial bootloader, the following serial port sett…
Dbasic-options.rst18 .. _serial-port:
23 * The serial port is selected using the ``-p`` option, like ``-p /dev/ttyUSB0`` (Linux and macOS) …
24 * A default serial port can be specified by setting the ``ESPTOOL_PORT`` environment variable.
29 …vers to be installed for a particular USB/serial adapter, before a serial port is available. Consu…
38 You can call ``su - $USER`` to enable read and write permissions for the serial port without having…
52 …ose 74880, which is the :ref:`usual baud rate used by the ESP8266 <serial-port-settings>` to outpu…
/hal_espressif-latest/components/esp_hw_support/
DCMakeLists.txt5 idf_component_register(SRCS "port/linux/esp_random.c"
6 "port/linux/chip_info.c"
19 set(srcs "cpu.c" "port/${IDF_TARGET}/esp_cpu_intr.c" "esp_memory_utils.c" "port/${IDF_TARGET}/cpu_r…
37 "port/${target}/io_mux.c"
38 "port/${target}/esp_clk_tree.c"
39 "port/esp_clk_tree_common.c")
80 list(APPEND srcs "port/${target}/systimer.c")
100 list(APPEND srcs "port/pau_regdma.c"
101 "port/regdma_link.c")
117 list(APPEND srcs "mspi_timing_tuning.c" "port/${target}/mspi_timing_config.c")
[all …]
/hal_espressif-latest/zephyr/esp32c6/
DCMakeLists.txt19 ../port/include
35 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
36 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}/private_include
37 ../../components/esp_hw_support/port/include
45 ../../components/esp_system/port/include
46 ../../components/esp_system/port/include/private/esp_private
47 ../../components/esp_system/port/include/private
100 ../../components/wpa_supplicant/port/include
105 ../../components/mbedtls/port/include
107 ../port/include/boot
[all …]
/hal_espressif-latest/zephyr/esp32/
DCMakeLists.txt19 ../port/include
35 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
36 ../../components/esp_hw_support/port/include
45 ../../components/esp_system/port/include
46 ../../components/esp_system/port/include/private
102 ../../components/wpa_supplicant/port/include
108 ../../components/mbedtls/port/include
110 ../port/include/boot
186 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}/cache_sram_mmu.c
222 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}/rtc_sleep.c
[all …]
/hal_espressif-latest/zephyr/esp32c2/
DCMakeLists.txt20 ../port/include
36 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
37 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}/private_include
38 ../../components/esp_hw_support/port/include
46 ../../components/esp_system/port/include
47 ../../components/esp_system/port/include/private/esp_private
48 ../../components/esp_system/port/include/private
98 ../../components/wpa_supplicant/port/include
103 ../../components/mbedtls/port/include
105 ../port/include/boot
[all …]
/hal_espressif-latest/zephyr/esp32s2/
DCMakeLists.txt16 ../port/include
32 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
33 ../../components/esp_hw_support/port/include
42 ../../components/esp_system/port/include
43 ../../components/esp_system/port/include/private
97 ../../components/wpa_supplicant/port/include
102 ../../components/mbedtls/port/include
104 ../port/include/boot
285 ../port/boot/esp_image_loader.c
303 ../../components/esp_hw_support/port/esp_clk_tree_common.c
[all …]
/hal_espressif-latest/zephyr/esp32c3/
DCMakeLists.txt21 ../port/include
37 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
38 ../../components/esp_hw_support/port/include
47 ../../components/esp_system/port/include
48 ../../components/esp_system/port/include/private
101 ../../components/wpa_supplicant/port/include
106 ../../components/mbedtls/port/include
108 ../port/include/boot
276 ../port/boot/esp_image_loader.c
292 ../../components/esp_hw_support/port/esp_clk_tree_common.c
[all …]
/hal_espressif-latest/zephyr/esp32s3/
DCMakeLists.txt17 ../port/include
32 ../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}
33 ../../components/esp_hw_support/port/include
42 ../../components/esp_system/port/include
43 ../../components/esp_system/port/include/private
100 ../../components/wpa_supplicant/port/include
105 ../../components/mbedtls/port/include
107 ../port/include/boot
305 ../port/boot/esp_image_loader.c
323 ../../components/esp_hw_support/port/esp_clk_tree_common.c
[all …]
/hal_espressif-latest/components/bt/porting/transport/driver/uart/
Dhci_driver_uart.c75 uart_port_t port; in hci_driver_uart_tx_task() local
77 port = s_hci_driver_uart_env.hci_uart_params->hci_uart_port; in hci_driver_uart_tx_task()
87 uart_write_bytes(port, data, tx_len); in hci_driver_uart_tx_task()
98 uart_port_t port; in hci_driver_uart_rx_task() local
101 port = s_hci_driver_uart_env.hci_uart_params->hci_uart_port; in hci_driver_uart_rx_task()
106 read_len = uart_read_bytes(port, data, CONFIG_BT_LE_HCI_RX_PROC_DATA_LEN, 0); in hci_driver_uart_rx_task()
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dgdbhelper.py14 def __init__(self, toolchain_prefix, websocket_client, elf_file, port, baud_rate): argument
21 self.port = port
46 '-ex', 'target remote %s' % self.port,
93 'port': self.port,
/hal_espressif-latest/tools/idf_monitor/
Didf_monitor.py105 socket_mode = serial_instance.port.startswith('socket://')
109 … self.gdb_helper = GDBHelper(toolchain_prefix, websocket_client, self.elf_file, self.serial.port,
280 if os.name == 'nt' and args.port.startswith('COM'):
281 args.port = args.port.replace('COM', r'\\.\COM')
283 yellow_print('--- Using %s instead...' % args.port)
284 elif args.port.startswith('/dev/tty.') and sys.platform == 'darwin':
285 args.port = args.port.replace('/dev/tty.', '/dev/cu.')
287 yellow_print('--- Using %s instead...' % args.port)
310 serial_instance = serial.serial_for_url(args.port, args.baud, do_not_open=True)
317 espport_val = str(args.port)
/hal_espressif-latest/tools/esptool_py/docs/en/
Dtroubleshooting.rst17 * Check you are passing the correct serial port on the command line.
18port, and other software (such as modem-manager on Linux) is not trying to interact with it. A com…
118port for flashing while listening on the UART port for debugging purposes. This setup is useful fo…
119 …If your devkit doesn't have a dedicated USB port connected to an on-board USB-to-UART bridge, you …
125 For exact serial port configuration values, see :ref:`serial-port-settings`.
202 …ySerial <https://pyserial.readthedocs.io/en/latest/>`_ Python module for accessing the serial port.
217 * The port is being already used by other software.
218 * The port doesn't exist.
220 * The necessary serial port drivers are not installed or are faulty.
221 * You don't have permission to access the port.
[all …]
/hal_espressif-latest/components/esp_system/
DCMakeLists.txt6 "port/soc/linux/reset_reason.c"
7 "port/soc/linux/system_internal.c"
8 "port/esp_system_linux.c"
68 add_subdirectory(port)

123