Home
last modified time | relevance | path

Searched +full:python3 +full:- +full:dev (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/doc/develop/getting_started/
Dinstallation_linux.rst32 .. group-tab:: Ubuntu
34 .. code-block:: console
36 sudo apt-get update
37 sudo apt-get upgrade
39 .. group-tab:: Fedora
41 .. code-block:: console
45 .. group-tab:: Clear Linux
47 .. code-block:: console
51 .. group-tab:: Arch Linux
53 .. code-block:: console
[all …]
Dindex.rst8 - Set up a command-line Zephyr development environment on Ubuntu, macOS, or
11 - Get the source code
12 - Build, flash, and run a sample application
23 .. group-tab:: Ubuntu
28 .. code-block:: bash
33 .. group-tab:: macOS
39 <https://support.apple.com/en-us/HT201541>`_.
41 .. group-tab:: Windows
46 .. _install-required-tools:
55 .. list-table::
[all …]
/Zephyr-latest/tests/misc/check_init_priorities/
Dvalidate_check_init_priorities_output.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
12 …"ERROR: /i2c@11112222/test-i2c-dev@10 <NULL> is initialized before its dependency /gpio@ffff <NULL…
13 …"ERROR: /i2c@11112222/test-i2c-dev@10 <NULL> is initialized before its dependency /i2c@11112222 <N…
14 … "INFO: /i2c@11112222/test-i2c-dev@11 <NULL> PRE_KERNEL_1+3 > /gpio@ffff <NULL> PRE_KERNEL_1+1",
15 … "INFO: /i2c@11112222/test-i2c-dev@11 <NULL> PRE_KERNEL_1+3 > /i2c@11112222 <NULL> PRE_KERNEL_1+2",
/Zephyr-latest/boards/quicklogic/qomu/doc/
Dindex.rst6 The Qomu board is a platform with an on-board QuickLogic EOS S3 Sensor Processing Platform.
11 - QuickLogic EOS S3 MCU Platform
12 - 16 Mbit of on-board flash memory
13 - Touchpads (4)
14 - RGB LED
15 - Powered from USB
33 .. zephyr-app-commands::
34 :zephyr-app: samples/boards/quicklogic/qomu
40 #. While the blue LED is blinking (for 5 seconds), touch the touch-pads with your finger.
44 .. code-block:: console
[all …]
/Zephyr-latest/samples/boards/quicklogic/qomu/
DREADME.rst6 This sample demonstrates how to load bitstream on EOS-S3 FPGA and use the
12 * `QuickLogic Qomu board <https://www.quicklogic.com/products/eos-s3/quickfeather-development-kit/>…
17 .. zephyr-app-commands::
18 :zephyr-app: samples/boards/quicklogic/qomu
19 :host-os: unix
27 …mple into Qomu you can use `TinyFPGA-Programmer-Application <https://github.com/QuickLogic-Corp/Ti…
29 .. code-block:: console
31python3 /PATH/TO/BASE/DIR/TinyFPGA-Programmer-Application/tinyfpga-programmer-gui.py --mode m4 --m…
33 See `Qomu User Guide <https://github.com/QuickLogic-Corp/qomu-dev-board/blob/662f8841bdc1ed35c1539a…
40 .. code-block:: console
/Zephyr-latest/samples/subsys/zbus/remote_mock/
DREADME.rst1 .. zephyr:code-sample:: zbus-remote-mock
3 :relevant-api: zbus_apis
21 .. zephyr-app-commands::
22 :zephyr-app: samples/subsys/zbus/remote_mock
23 :host-os: unix
30 .. code-block:: console
32 -- west build: running target run
34 uart_1 connected to pseudotty: /dev/pts/2
35 uart connected to pseudotty: /dev/pts/3
36 *** Booting Zephyr OS build zephyr-v3.1.0 ***
[all …]
/Zephyr-latest/samples/subsys/zbus/uart_bridge/
DREADME.rst1 .. zephyr:code-sample:: zbus-uart-bridge
3 :relevant-api: zbus_apis
19 .. zephyr-app-commands::
20 :zephyr-app: samples/subsys/zbus/uart_bridge
21 :host-os: unix
28 .. code-block:: console
31 uart_1 connected to pseudotty: /dev/pts/2
32 uart connected to pseudotty: /dev/pts/3
33 *** Booting Zephyr OS build zephyr-v3.1.0 ***
66 .. code-block:: bash
[all …]
/Zephyr-latest/boards/enjoydigital/litex_vexriscv/doc/
Dindex.rst7 <https://github.com/litex-hub/zephyr-on-litex-vexriscv>`_
8 or `LiteX SoC Builder <https://github.com/enjoy-digital/litex>`_
11 vendor-specific and open-source tools, including the
16 `Digilent Arty A7-35T or A7-100T Development Boards
17 <https://store.digilentinc.com/arty-a7-artix-7-fpga-development-board-for-makers-and-hobbyists>`_
18 or `SDI-MIPI Video Converter <https://github.com/antmicro/sdi-mipi-video-converter>`_.
21 `Migen <https://m-labs.hk/gateware/migen/>`_/`MiSoC SoC builder <https://github.com/m-labs/misoc>`_
22 and provides ready-made system components such as buses, streams, interconnects,
27 `LiteX's website <https://github.com/enjoy-digital/litex>`_.
29 VexRiscv is a 32-bit implementation of the RISC-V CPU architecture
[all …]
/Zephyr-latest/scripts/build/
Dgen_device_deps.py1 #!/usr/bin/env python3
6 # SPDX-License-Identifier: Apache-2.0
12 This information is encoded in the first-pass binary using identifiers
17 For example the sensor might have a first-pass handle defined by its
26 driver-specific object file.
38 'dts', 'python-devicetree', 'src'))
47 parser.add_argument("-k", "--kernel", required=True,
49 parser.add_argument("--dynamic-deps", action="store_true",
51 parser.add_argument("-d", "--num-dynamic-devices", required=False, default=0,
53 parser.add_argument("-o", "--output-source", required=True,
[all …]
Delf_parser.py1 #!/usr/bin/env python3
5 # SPDX-License-Identifier: Apache-2.0
55 DEVICE_HANDLE_SEP = -32768
70 self._ordinals_split.append(self._ordinals[prev:idx-1])
135 True if the elf file is for a little-endian architecture.
164 offset = addr - (0 if self.relocatable else section['sh_addr'])
194 for ord, dev in devices.items():
202 dev.devs_depends_on.add(devices[dn.dep_ordinal])
212 dev.devs_supports.add(devices[sn.dep_ordinal])
219 for dev in devices.values():
[all …]
Dcheck_init_priorities.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
33 "dts", "python-devicetree", "src"))
34 from devicetree import edtlib # pylint: disable=unused-import
49 "zephyr,cdc-acm-uart",
177 offset = addr - start
285 dev = self._ord2node[dev_ord]
286 for dep in dev.depends_on:
302 parser.add_argument("-f", "--elf-file", default=pathlib.Path("build", "zephyr", "zephyr.elf"),
304 parser.add_argument("-v", "--verbose", action="count",
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_hardwaremap.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
29 'DAPLink CMSIS-DAP',
30 'MBED CMSIS-DAP'
41 'J-Link',
42 'J-Link OB'
56 'STLINK-V3'
68 'TTL232R-3V3',
78 'DAPLink CMSIS-DAP',
86 'DAPLink CMSIS-DAP',
[all …]
Dconftest.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
54 # See: https://github.com/pytest-dev/pytest/issues/5502
65 # It should be used as the `-O` (`--out_dir`) parameter in blackbox tests
77 out_container_path = tmp_path / 'blackbox-out-container'
79 out_path = os.path.join(out_container_path, "blackbox-out")
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py3 # SPDX-License-Identifier: Apache-2.0
18 def fixture_adapter(tmp_path) -> HardwareAdapter:
33 …rdware_adapter_raise_exception_when_west_not_found(patched_which, device: HardwareAdapter) -> None:
39 def test_if_get_command_returns_proper_string_1(patched_which, device: HardwareAdapter) -> None:
43 …assert device.command == ['west', 'flash', '--skip-rebuild', '--build-dir', 'build', '--runner', '…
47 def test_if_get_command_returns_proper_string_2(patched_which, device: HardwareAdapter) -> None:
53 …'west', 'flash', '--skip-rebuild', '--build-dir', 'build', '--runner', 'pyocd', '--', '--board-id'…
58 def test_if_get_command_returns_proper_string_3(patched_which, device: HardwareAdapter) -> None:
64 …'west', 'flash', '--skip-rebuild', '--build-dir', 'build', '--runner', 'nrfjprog', '--', '--dev-id…
69 def test_if_get_command_returns_proper_string_4(patched_which, device: HardwareAdapter) -> None:
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dhardwaremap.py1 #!/usr/bin/env python3
5 # SPDX-License-Identifier: Apache-2.0
30 print("Install tabulate python module with pip to use --device-testing option.")
133 schema_path = os.path.join(ZEPHYR_BASE, "scripts", "schemas", "twister", "hwmap-schema.yaml")
155 'DAPLink CMSIS-DAP',
156 'MBED CMSIS-DAP'
159 'J-Link',
160 'J-Link OB'
163 'STM32 STLink', '^XDS110.*', 'STLINK-V3'
166 'TTL232R-3V3',
[all …]
Denvironment.py1 #!/usr/bin/env python3
4 # Copyright (c) 2018-2025 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
[all …]
Dhandlers.py1 #!/usr/bin/env python3
4 # Copyright (c) 2018-2022 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
39 print("Install pyserial python module with pip to use --device-testing option.")
45 pass # "--device-serial-pty" option is not supported on Windows OS
124 _d_suite = detected_suite_names[-len(expected_suite_names):]
220 this_timeout = timeout_time - time.time()
227 line_decoded = self.line.decode('utf-8', "replace")
230 stripped_line = stripped_line[:-len(suffix)].rstrip()
272 command = ["renode-test",
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb11 " http://www.apache.org/licenses/LICENSE-2.0\n",
43 "<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
48 …ic_wand_model.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View s…
60 …efore you proceed, ensure you are using a GPU runtime by going to **Runtime -> Change runtime type…
96 "!git clone --depth 1 -q https://github.com/tensorflow/tensorflow\n",
98 "!cp -r tensorflow/tensorflow/lite/micro/examples/magic_wand/train train"
126 "!tar xvzf data.tar.gz -C train 1>/dev/null"
161 "id": "5-cmVbFvhTvy"
181 "%tensorboard --logdir logs/scalars"
206 "!python train.py --model CNN --person true"
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_hardwaremap.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
227 |---------|------|-----------|------------|
270 - id: id0
278 - dummy fixture 1
279 - dummy fixture 2
282 - id: id1
288 - id: id2
294 map_filename = 'map-file.yaml'
348 '<unknown (TI product) on /dev/serial/by-id/basic-file1>',
[all …]
Dtest_handlers.py1 #!/usr/bin/env python3
5 # SPDX-License-Identifier: Apache-2.0
83 ' --device-testing option.'], None),
86 ' --device-testing option.'], ImportError),
248 mock_child_neg1 = mock.Mock(pid=-1)
258 [mock.call(-1, signal.SIGTERM), mock.call(2, signal.SIGTERM)]
289 with mock.patch('builtins.open', mock.mock_open(read_data='-1')):
295 mock_kill.assert_called_once_with(-1, signal.SIGKILL)
420 ['valgrind', '--error-exitcode=2', '--leak-check=full',
421 f'--suppressions={ZEPHYR_BASE}/scripts/valgrind.supp',
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dcore.py1 #! /usr/bin/env python3
6 # SPDX-License-Identifier: Apache-2.0
54 def find_rtt_block(elf_file: str) -> int | None:
123 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
127 cmd = ['ss', '-a', '-n', '-t']
131 cmd = ['netstat', '-a', '-n', '-p', 'tcp']
156 '''This helper class provides access to build-time configuration.
189 opt_value = re.compile(f'^(?P<option>{self.config_prefix}_[A-Za-z0-9_]+)=(?P<value>.*)$')
190 not_set = re.compile(f'^# (?P<option>{self.config_prefix}_[A-Za-z0-9_]+) is not set$')
200 value = value[1:-1]
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool.py1 #!/usr/bin/env python3
3 # SPDX-License-Identifier: Apache-2.0
19 log = logging.getLogger("cavs-fw")
23 HUGEPAGE_FILE = "/dev/hugepages/cavs-fw-dma.tmp."
28 # Window 1 is the IPC "inbox" (host-writable memory, just 384 bytes currently)
30 # Window 3 is winstream-formatted log output
43 # pylint: disable=duplicate-code
106 self.regs.LVI = self.n_bufs - 1
215 p = runx(f"grep -iEl 'PCI_CLASS=40(10|38)0' /sys/bus/pci/devices/*/uevent")
217 # if no device found, also try 40300 class no-DSP devices
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.3.rst18 with future support for features like 64-bit and absolute timeouts in mind
21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
24 * The CMSIS-DSP library is now included and integrated
33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
34 into a fixed-size array.
35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
37 * CVE-2020-10061: Improper handling of the full-buffer case in the
39 * CVE-2020-10062: Packet length decoding error in MQTT
40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
[all …]
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]
/Zephyr-latest/scripts/kconfig/
Dmenuconfig.py1 #!/usr/bin/env python3
3 # Copyright (c) 2018-2019, Nordic Semiconductor ASA and Ulf Magnusson
4 # SPDX-License-Identifier: ISC
10 A curses-based Python 2/3 menuconfig implementation. The interface should feel
19 Ctrl-D/U: Page Down/Page Up
27 character in it in the current menu isn't supported. A jump-to feature for
33 F: Toggle show-help mode, which shows the help text of the currently selected
37 C: Toggle show-name mode, which shows the symbol name before each symbol menu
40 A: Toggle show-all mode, which shows all items, including currently invisible
52 When run in standalone mode, the top-level Kconfig file to load can be passed
[all …]