/Zephyr-latest/subsys/console/ |
D | tty.c | 12 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 …]
|
D | CMakeLists.txt | 3 zephyr_sources_ifdef(CONFIG_CONSOLE_GETCHAR tty.c getchar.c)
|
/Zephyr-latest/include/zephyr/console/ |
D | tty.h | 52 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/ |
D | native_sim.overlay | 4 compatible = "zephyr,native-tty-uart"; 11 compatible = "zephyr,native-tty-uart";
|
/Zephyr-latest/tests/net/all/ |
D | check_net_options.sh | 46 echo "Total number of options : `get_options | wc -w`" > /dev/tty
|
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/ |
D | README.rst | 14 * `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/ |
D | phyboard_polis_mimx8mm6_m4.dts | 100 /* 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/boards/arm/mps2/ |
D | board.cmake | 27 # To enable a host tty switch between serial and pty
|
/Zephyr-latest/subsys/usb/device/class/ |
D | Kconfig.cdc | 45 This is needed to prevent tty ECHO on Linux.
|
/Zephyr-latest/samples/drivers/uart/native_tty/ |
D | README.rst | 1 .. 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/doc/connectivity/usb/device/ |
D | usb_device.rst | 178 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/ |
D | README.rst | 70 correct port destination (in Linux is something like ``/dev/tty...`` or in Windows ``COM...``).
|
/Zephyr-latest/samples/subsys/zbus/uart_bridge/ |
D | README.rst | 75 correct port destination (in Linux is something like ``/dev/tty...`` or in Windows ``COM...``).
|
/Zephyr-latest/boards/sparkfun/thing_plus/doc/ |
D | index.rst | 115 can be found. In most cases (On Linux/Mac) it will be: :code:`/dev/tty.SLAB_USBtoUART`.
|
/Zephyr-latest/boards/circuitdojo/feather/doc/ |
D | index.rst | 123 can be found. In most cases (On Linux/Mac) it will be: :code:`/dev/tty.SLAB_USBtoUART`.
|
/Zephyr-latest/boards/nxp/imx8mq_evk/doc/ |
D | index.rst | 158 screen <tty-device> 115200
|
/Zephyr-latest/boards/amd/kv260_r5/doc/ |
D | index.rst | 139 (available via one of the tty ports with the on-board FTDI chip),
|
/Zephyr-latest/boards/native/native_sim/doc/ |
D | index.rst | 316 pseudo-tty. For more information refer to the section `PTTY UART`_. 542 where :file:`/dev/tty{<n>}` should be replaced with the actual TTY device. 565 with ``"zephyr,native-tty-uart"`` compatible property and ``okay`` status, such 572 compatible = "zephyr,native-tty-uart"; 592 The :zephyr:code-sample:`uart-native-tty` sample app provides a working example of the
|
/Zephyr-latest/boards/seco/stm32f3_seco_d23/doc/ |
D | index.rst | 212 $ minicom -D /dev/<tty device>
|
/Zephyr-latest/boards/snps/iotdk/doc/ |
D | index.rst | 102 * Specify the tty driver name, for example, on Linux this may be
|
/Zephyr-latest/boards/st/stm32f072b_disco/doc/ |
D | index.rst | 178 $ minicom -D /dev/<tty device>
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | bluetooth-tools.rst | 233 $ btmon --tty <console TTY> --tty-speed 115200
|
/Zephyr-latest/boards/toradex/colibri_imx7d/doc/ |
D | index.rst | 394 [ 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/st/stm32f3_disco/doc/ |
D | index.rst | 246 $ minicom -D /dev/<tty device>
|
/Zephyr-latest/doc/develop/flash_debug/ |
D | nordic_segger.rst | 126 The serial port will appear as ``/dev/tty.usbmodemXXXX``.
|