Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-latest/subsys/console/
Dtty.c12 static int tty_irq_input_hook(struct tty_serial *tty, uint8_t c);
13 static int tty_putchar(struct tty_serial *tty, uint8_t c);
17 struct tty_serial *tty = user_data; in tty_uart_isr() local
28 tty_irq_input_hook(tty, c); in tty_uart_isr()
33 if (tty->tx_get == tty->tx_put) { in tty_uart_isr()
39 uart_fifo_fill(dev, &tty->tx_ringbuf[tty->tx_get++], 1); in tty_uart_isr()
40 if (tty->tx_get >= tty->tx_ringbuf_sz) { in tty_uart_isr()
41 tty->tx_get = 0U; in tty_uart_isr()
43 k_sem_give(&tty->tx_sem); in tty_uart_isr()
48 static int tty_irq_input_hook(struct tty_serial *tty, uint8_t c) in tty_irq_input_hook() argument
[all …]
DCMakeLists.txt3 zephyr_sources_ifdef(CONFIG_CONSOLE_GETCHAR tty.c getchar.c)
/Zephyr-latest/include/zephyr/console/
Dtty.h52 int tty_init(struct tty_serial *tty, const struct device *uart_dev);
63 static inline void tty_set_rx_timeout(struct tty_serial *tty, int32_t timeout) in tty_set_rx_timeout() argument
65 tty->rx_timeout = timeout; in tty_set_rx_timeout()
77 static inline void tty_set_tx_timeout(struct tty_serial *tty, int32_t timeout) in tty_set_tx_timeout() argument
79 tty->tx_timeout = timeout; in tty_set_tx_timeout()
93 int tty_set_rx_buf(struct tty_serial *tty, void *buf, size_t size);
108 int tty_set_tx_buf(struct tty_serial *tty, void *buf, size_t size);
121 ssize_t tty_read(struct tty_serial *tty, void *buf, size_t size);
133 ssize_t tty_write(struct tty_serial *tty, const void *buf, size_t size);
/Zephyr-latest/samples/drivers/uart/native_tty/boards/
Dnative_sim.overlay4 compatible = "zephyr,native-tty-uart";
11 compatible = "zephyr,native-tty-uart";
/Zephyr-latest/tests/net/all/
Dcheck_net_options.sh46 echo "Total number of options : `get_options | wc -w`" > /dev/tty
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/
DREADME.rst14 * `Linux rpmsg tty driver <https://elixir.bootlin.com/linux/latest/source/drivers/tty/rpmsg_tty.c>`_
102 Open a Linux shell (minicom, ssh, etc.) and print the messages coming through the rpmsg-tty endpoin…
104 <addr> corresponds to the Zephyr rpmsg-tty endpoint address:
/Zephyr-latest/boards/phytec/phyboard_polis/
Dphyboard_polis_mimx8mm6_m4.dts100 /* UART usually used from A53 Core (1st tty on Debug USB connector */
107 /* UART of the M4 Core (2nd tty on Debug USB connector) */
/Zephyr-latest/subsys/usb/device/class/
DKconfig.cdc45 This is needed to prevent tty ECHO on Linux.
/Zephyr-latest/samples/drivers/uart/native_tty/
DREADME.rst1 .. zephyr:code-sample:: uart-native-tty
29 are in your system by running the command ``ls -l /dev/tty*``. If that is not
/Zephyr-latest/boards/arm/mps2/
Dboard.cmake39 # To enable a host tty switch between serial and pty
/Zephyr-latest/doc/connectivity/usb/device/
Dusb_device.rst178 POSIX default tty ECHO mitigation
181 POSIX systems, like Linux, default to enabling ECHO on tty devices. Host side
182 application can disable ECHO by calling ``open()`` on the tty device and issuing
192 the best indication that host application has opened the tty device, Zephyr will
195 application that opens the tty device to disable ECHO if ECHO is not desired.
204 open the tty device, the exit with reset will enable ECHO back and thus set up
/Zephyr-latest/samples/subsys/zbus/remote_mock/
DREADME.rst70 correct port destination (in Linux is something like ``/dev/tty...`` or in Windows ``COM...``).
/Zephyr-latest/samples/subsys/zbus/uart_bridge/
DREADME.rst75 correct port destination (in Linux is something like ``/dev/tty...`` or in Windows ``COM...``).
/Zephyr-latest/boards/sparkfun/thing_plus/doc/
Dindex.rst115 can be found. In most cases (On Linux/Mac) it will be: :code:`/dev/tty.SLAB_USBtoUART`.
/Zephyr-latest/boards/circuitdojo/feather/doc/
Dindex.rst123 can be found. In most cases (On Linux/Mac) it will be: :code:`/dev/tty.SLAB_USBtoUART`.
/Zephyr-latest/boards/st/stm32f072b_disco/doc/
Dindex.rst148 $ minicom -D /dev/<tty device>
/Zephyr-latest/boards/amd/kv260_r5/doc/
Dindex.rst126 (available via one of the tty ports with the on-board FTDI chip),
/Zephyr-latest/boards/pjrc/teensy4/doc/
Dindex.rst321 ``tty.usbmodem14203`` should appear on your host computer.
/Zephyr-latest/boards/seco/stm32f3_seco_d23/doc/
Dindex.rst184 $ minicom -D /dev/<tty device>
/Zephyr-latest/boards/nxp/imx8mq_evk/doc/
Dindex.rst158 screen <tty-device> 115200
/Zephyr-latest/boards/snps/iotdk/doc/
Dindex.rst102 * Specify the tty driver name, for example, on Linux this may be
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-tools.rst233 $ btmon --tty <console TTY> --tty-speed 115200
/Zephyr-latest/boards/st/stm32f3_disco/doc/
Dindex.rst204 $ minicom -D /dev/<tty device>
/Zephyr-latest/boards/toradex/colibri_imx7d/doc/
Dindex.rst394 [ 497.233806] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty addr 0x400
399 [ 497.337969] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty addr 0x402
/Zephyr-latest/boards/native/native_sim/doc/
Dindex.rst316 pseudo-tty. For more information refer to the section `PTY UART`_.
566 with ``"zephyr,native-tty-uart"`` compatible property and ``okay`` status, such
573 compatible = "zephyr,native-tty-uart";
593 The :zephyr:code-sample:`uart-native-tty` sample app provides a working example of the

12