/Zephyr-latest/samples/drivers/uart/native_tty/ |
D | README.rst | 1 .. zephyr:code-sample:: uart-native-tty 3 :relevant-api: uart_interface 5 Use native TTY driver to send and receive data between two UART-to-USB bridge dongles. 29 are in your system by running the command ``ls -l /dev/tty*``. If that is not 30 the case on your machine you can either change the ``serial-port`` properties 32 ``-uart_port`` and ``-uart_port2``. 39 .. zephyr-app-commands:: 40 :zephyr-app: samples/drivers/uart/native_tty 41 :host-os: unix 49 .. code-block:: console [all …]
|
/Zephyr-latest/samples/basic/threads/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 41 uint8_t num; member 46 .num = 0, 51 .num = 1, 56 const struct gpio_dt_spec *spec = &led->spec; in blink() 60 if (!device_is_ready(spec->port)) { in blink() 61 printk("Error: %s device is not ready\n", spec->port->name); in blink() 68 ret, spec->pin, led->num); in blink() 73 gpio_pin_set(spec->port, spec->pin, cnt % 2); in blink() 106 rx_data->led, rx_data->cnt); in uart_out()
|
/Zephyr-latest/dts/bindings/i2c/ |
D | ite,common-i2c.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [i2c-controller.yaml, pinctrl-device.yaml] 15 port-num: 19 - 0 20 - 1 21 - 2 22 - 3 23 - 4 24 - 5 25 description: Ordinal identifying the port [all …]
|
/Zephyr-latest/dts/bindings/serial/ |
D | ite,it8xxx2-uart.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: ITE, IT8XXX2-UART node 6 compatible: "ite,it8xxx2-uart" 8 include: [uart-controller.yaml, pinctrl-device.yaml] 14 port-num: 17 description: Ordinal identifying the port 20 type: phandle-array 23 uart-dev: 28 pinctrl-0: 31 pinctrl-names:
|
/Zephyr-latest/samples/subsys/usb_c/sink/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 24 /* usbc.rst port data object start */ 26 * @brief A structure that encapsulates Port data. 47 /* usbc.rst port data object end */ 51 * - Maximum operating current 100mA 52 * - Operating current is 100mA 53 * - Unchunked Extended Messages Not Supported 54 * - No USB Suspend 55 * - Not USB Communications Capable 56 * - No capability mismatch [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_renesas_ra_ioport.c | 4 * SPDX-License-Identifier: Apache-2.0 11 #include <zephyr/dt-bindings/gpio/renesas-ra-gpio-ioport.h> 19 size_t num; member 25 R_PORT0_Type *port; member 39 const struct gpio_ra_config *config = dev->config; in query_irq_info() 41 for (int i = 0; i < config->irq_info_size; i++) { in query_irq_info() 42 const struct gpio_ra_irq_info *info = &config->irq_info[i]; in query_irq_info() 44 for (int j = 0; j < info->num; j++) { in query_irq_info() 45 if (info->pins[j] == pin) { in query_irq_info() 56 struct gpio_ra_data *data = dev->data; in gpio_ra_callback_adapter() [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | bindings-intro.rst | 1 .. _dt-binding-compat: 8 For a detailed syntax reference, see :ref:`dt-bindings-file-syntax`. 11 properties <dt-important-props>`. 18 .. _dt-bindings-simple-example: 25 .. code-block:: devicetree 28 bar-device { 29 compatible = "foo-company,bar-device"; 30 num-foos = <3>; 35 .. code-block:: yaml 39 compatible: "foo-company,bar-device" [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_kl25z.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 #include "armv6-m.dtsi" 5 #include <zephyr/dt-bindings/adc/adc.h> 6 #include <zephyr/dt-bindings/clock/kinetis_sim.h> 7 #include <zephyr/dt-bindings/clock/kinetis_mcg.h> 8 #include <zephyr/dt-bindings/gpio/gpio.h> 9 #include <zephyr/dt-bindings/i2c/i2c.h> 13 zephyr,flash-controller = &ftfa; 17 #address-cells = <1>; 18 #size-cells = <0>; [all …]
|
D | nxp_lpc51u68.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv6-m.dtsi> 8 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-m0+"; 27 compatible = "nxp,lpc-syscon"; [all …]
|
D | nxp_rt5xx_common.dtsi | 2 * Copyright 2022-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h> 14 #include <zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h> 15 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> [all …]
|
D | nxp_mcxc_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv6-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/kinetis_sim.h> 11 #include <zephyr/dt-bindings/clock/kinetis_mcg.h> 12 #include <zephyr/dt-bindings/gpio/gpio.h> 13 #include <zephyr/dt-bindings/i2c/i2c.h> 14 #include <zephyr/dt-bindings/pwm/pwm.h> 18 zephyr,flash-controller = &ftfa; 22 #address-cells = <1>; [all …]
|
D | nxp_kw2xd.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 */ 4 #include <arm/armv7-m.dtsi> 5 #include <zephyr/dt-bindings/adc/adc.h> 6 #include <zephyr/dt-bindings/clock/kinetis_sim.h> 7 #include <zephyr/dt-bindings/clock/kinetis_mcg.h> 8 #include <zephyr/dt-bindings/gpio/gpio.h> 9 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <nxp/kinetis/MKW24D512VHA5-pinctrl.h> 21 zephyr,flash-controller = &ftfl; 25 #address-cells = <1>; [all …]
|
D | nxp_rt6xx_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 14 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 22 #address-cells = <1>; 23 #size-cells = <0>; [all …]
|
D | nxp_lpc54xxx.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 16 gpio-0 = &gpio0; 17 gpio-1 = &gpio1; 18 mailbox-0 = &mailbox0; 22 zephyr,flash-controller = &iap; 26 #address-cells = <1>; [all …]
|
D | nxp_mcxa156.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-m33f"; 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
/Zephyr-latest/dts/common/nordic/ |
D | nrf9280.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/adc/nrf-saadc.h> 10 #include <zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf9230-engb.h> 11 #include <zephyr/dt-bindings/misc/nordic-domain-id-nrf9230.h> 12 #include <zephyr/dt-bindings/misc/nordic-owner-id-nrf9230.h> 13 #include <zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h> 15 /delete-node/ &sw_pwm; 18 #address-cells = <1>; 19 #size-cells = <1>; 22 #address-cells = <1>; [all …]
|
/Zephyr-latest/dts/arm/nordic/ |
D | nrf5340_cpunet.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv8-m.dtsi> 12 zephyr,bt-hci = &bt_hci_controller; 14 zephyr,flash-controller = &flash_controller; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-m33"; 25 #address-cells = <1>; 26 #size-cells = <1>; 29 compatible = "arm,armv8m-mpu"; [all …]
|
D | nrf52840.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 #include <arm/armv7-m.dtsi> 5 #include <zephyr/dt-bindings/adc/nrf-saadc-v3.h> 6 #include <zephyr/dt-bindings/regulator/nrf5x.h> 10 zephyr,bt-hci = &bt_hci_controller; 12 zephyr,flash-controller = &flash_controller; 16 #address-cells = <1>; 17 #size-cells = <0>; 21 compatible = "arm,cortex-m4f"; 23 #address-cells = <1>; [all …]
|
D | nrf52833.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/adc/nrf-saadc-v3.h> 10 #include <zephyr/dt-bindings/regulator/nrf5x.h> 14 zephyr,bt-hci = &bt_hci_controller; 16 zephyr,flash-controller = &flash_controller; 20 #address-cells = <1>; 21 #size-cells = <0>; 25 compatible = "arm,cortex-m4f"; 27 #address-cells = <1>; [all …]
|
D | nrf52820.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/regulator/nrf5x.h> 14 zephyr,bt-hci = &bt_hci_controller; 16 zephyr,flash-controller = &flash_controller; 20 #address-cells = <1>; 21 #size-cells = <0>; 25 compatible = "arm,cortex-m4"; 27 #address-cells = <1>; 28 #size-cells = <1>; [all …]
|
/Zephyr-latest/dts/arm/silabs/ |
D | efm32hg.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 #include <arm/armv6-m.dtsi> 4 #include <zephyr/dt-bindings/gpio/gpio.h> 5 #include <zephyr/dt-bindings/i2c/i2c.h> 10 zephyr,flash-controller = &msc; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "arm,cortex-m0+"; 24 compatible = "mmio-sram"; 28 msc: flash-controller@400c0000 { [all …]
|
D | efm32_pg_1b.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 8 #include <zephyr/dt-bindings/gpio/gpio.h> 9 #include <zephyr/dt-bindings/i2c/i2c.h> 14 zephyr,flash-controller = &msc; 18 #address-cells = <1>; 19 #size-cells = <0>; 24 compatible = "mmio-sram"; 28 msc: flash-controller@400e0000 { 29 compatible = "silabs,gecko-flash-controller"; [all …]
|
D | efr32fg1p.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 #include <arm/armv7-m.dtsi> 4 #include <zephyr/dt-bindings/gpio/gpio.h> 5 #include <zephyr/dt-bindings/i2c/i2c.h> 7 #include <zephyr/dt-bindings/pwm/pwm.h> 11 zephyr,flash-controller = &msc; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-m4f"; 25 compatible = "mmio-sram"; [all …]
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | intel_cyclonev.py | 3 # SPDX-License-Identifier: Apache-2.0 21 '''Runner front-end for openocd.''' 57 search_args.append('-s') 63 search_args.append('-s') 68 search_args.extend(['-s', p]) 85 self.tui_arg = ['-tui'] if tui else [] 86 self.halt_arg = [] if no_halt else ['-c halt'] 87 self.init_arg = [] if no_init else ['-c init'] 88 self.targets_arg = [] if no_targets else ['-c targets'] 89 self.serial = ['-c set _ZEPHYR_BOARD_SERIAL ' + serial] if serial else [] [all …]
|
D | openocd.py | 4 # SPDX-License-Identifier: Apache-2.0 6 # pylint: disable=duplicate-code 36 num = int(num_match.group(0)) 39 num += 1 41 return num 44 '''Runner front-end for openocd.''' 61 # try to find the board support in-tree 77 search_args.append('-s') 83 search_args.append('-s') 88 search_args.extend(['-s', p]) [all …]
|