Home
last modified time | relevance | path

Searched +full:- +full:- +full:plugin (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/scripts/pylib/pytest-twister-harness/
DREADME.rst6 ------------
8 If you plan to use this plugin with Twister, then you don't need to install it
9 separately by pip. When Twister uses this plugin for pytest tests, it updates
11 ``-p twister_harness.plugin`` argument.
15 -----
19 .. code-block:: sh
24 ./scripts/twister -p native_sim -p qemu_x86 -T samples/subsys/testsuite/pytest/shell
27 …./scripts/twister -p nrf52840dk/nrf52840 --device-testing --device-serial /dev/ttyACM0 -T samples/…
31 .. code-block:: sh
33 export PYTHONPATH=${ZEPHYR_BASE}/scripts/pylib/pytest-twister-harness/src:${PYTHONPATH}
[all …]
Dsetup.cfg2 name = pytest-twister-harness
4 description = Plugin for pytest to run tests which require interaction with real and simulated devi…
8 Development Status :: 3 - Alpha
33 twister_harness = twister_harness.plugin
/Zephyr-latest/modules/hal_silabs/gecko/
DCMakeLists.txt1 # Makefile - Gecko SDK
7 # SPDX-License-Identifier: Apache-2.0
20 # Get SoC series number, i.e. translate e.g. efr32bg22 -> 22
36 ${RADIO_DIR}/rail_lib/plugin/pa-conversions/efr32xg1x/config
43 ${RADIO_DIR}/rail_lib/plugin/pa-conversions
48 zephyr_library_sources(${RADIO_DIR}/rail_lib/plugin/pa-conversions/pa_conversions_efr32.c)
49 zephyr_library_sources(${RADIO_DIR}/rail_lib/plugin/pa-conversions/pa_curves_efr32.c)
56 ${RADIO_DIR}/rail_lib/plugin/rail_util_init/config/proprietary
57 ${RADIO_DIR}/rail_lib/plugin/rail_util_callbacks
58 ${RADIO_DIR}/rail_lib/plugin/rail_util_callbacks/config
[all …]
/Zephyr-latest/doc/develop/test/
Dpytest.rst17 A pytest plugin ``pytest-twister-harness`` was introduced to provide an integration between pytest
24 By default, there is nothing to be done to enable pytest support in twister. The plugin is
25 developed as a part of Zephyr’s tree. To enable install-less operation, twister first extends
26 ``PYTHONPATH`` with path to this plugin, and then during pytest call, it appends the command with
27 ``-p twister_harness.plugin`` argument. If one prefers to use the installed version of the plugin,
28 they must add ``--allow-installed-plugin`` flag to twister’s call.
30 Pytest-based test suites are discovered the same way as other twister tests, i.e., by a presence
38 :figclass: align-center
52 .. code-block:: none
69 .. code-block:: yaml
[all …]
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/
DCMakeLists.txt8 # SPDX-License-Identifier: Apache-2.0
26 # Get SoC series number, i.e. translate e.g. efr32bg22 -> 22
52 ${RADIO_DIR}/rail_lib/plugin/pa-conversions
66 …add_prebuilt_library(libbgcommon protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/re…
77 zephyr_library_sources(${RADIO_DIR}/rail_lib/plugin/pa-conversions/pa_curves_efr32.c)
78 zephyr_library_sources(${RADIO_DIR}/rail_lib/plugin/pa-conversions/pa_conversions_efr32.c)
88 ${RADIO_DIR}/rail_lib/plugin/rail_util_protocol
89 ${RADIO_DIR}/rail_lib/plugin/rail_util_protocol/config/efr32xg${SILABS_DEVICE_FAMILY_NUMBER}
92 ${RADIO_DIR}/rail_lib/plugin/rail_util_protocol/sl_rail_util_protocol.c
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_addon.py4 # SPDX-License-Identifier: Apache-2.0
41 (['--enable-ubsan'], '1')
49 args = ['-i', '--outdir', out_path, '-T', test_path] + \
53 ['-p'] * len(test_platforms), test_platforms
68 (['--enable-asan', '--enable-lsan'], '1')
76 args = ['-i', '--outdir', out_path, '-T', test_path] + \
80 ['-p'] * len(test_platforms), test_platforms
98 (['--enable-asan'], '1', True)
109 args = ['-i', '-W', '--outdir', out_path, '-T', test_path] + \
113 ['-p'] * len(test_platforms), test_platforms
[all …]
/Zephyr-latest/doc/
Drequirements.txt5 sphinx-tabs
6 sphinxcontrib-svg2pdfconverter
8 sphinx-notfound-page
9 sphinx-copybutton
10 sphinx-togglebutton
11 sphinx-sitemap
12 sphinx-autobuild
18 # Used by pytest-twister-harness plugin (imported by autodoc)
Dconf.py2 # Reference: https://www.sphinx-doc.org/en/master/usage/configuration.html
25 # Add the directory which contains the pytest-twister-pytest
26 sys.path.insert(0, str(ZEPHYR_BASE / "scripts" / "pylib" / "pytest-twister-harness" / "src"))
35 # -- Project --------------------------------------------------------------
38 copyright = "2015-2025 Zephyr Project members and individual contributors"
62 version += "-" + extra
70 # -- General configuration ------------------------------------------------
82 "zephyr.dtcompatible-role",
83 "zephyr.link-roles",
103 if tags.has("convertimages"): # pylint: disable=undefined-variable # noqa: F821
[all …]
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/
Dmosquitto.conf27 # plugin
50 # Defaults to 'auto-'
51 #auto_id_prefix auto-
71 # maximum. Setting to 1 will guarantee in-order delivery of QoS 1
110 # QoS 1 and 2 messages above those currently in-flight will be queued per
122 # above those that are currently in-flight. Defaults to 1000. Set
146 # do not reconnect within a certain time frame. This is a non-standard option
169 # start-stop-daemon or similar.
176 # This is a non-standard option for the MQTT v3.1 spec but is allowed in
198 # This is a non-standard option explicitly disallowed by the spec.
[all …]
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/
DREADME.rst1 .. zephyr:code-sample:: pytest_shell
17 is defined in ``pytest-twister-harness`` plugin. More information about plugin
30 .. code-block:: console
32 $ ./scripts/twister -vv --platform native_sim -T samples/subsys/testsuite/pytest/shell
38 .. code-block:: console
45 …DEBUG: #: You can also use the <Tab> button to prompt or auto-complete all commands or its subcomm…
46 DEBUG: #: You can try to call commands with <-h> or <--help> parameter for more information.
47 DEBUG: #: Shell supports following meta-keys:
68 DEBUG: #: shell :Useful, not Unix-like shell commands.
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/
Dplugin_test.py3 # SPDX-License-Identifier: Apache-2.0
52 '--twister-harness',
53 f'--build-dir={build_dir}',
54 f'--device-type={device_type}',
55 '-p', 'twister_harness.plugin'
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dplugin.py3 # SPDX-License-Identifier: Apache-2.0
24 '--twister-harness',
27 help='Activate Twister harness plugin.'
31 'Activate Twister harness plugin',
35 '--base-timeout',
42 '--flash-timeout',
48 '--build-dir',
53 '--device-type',
58 '--platform',
62 '--device-serial',
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxyrunner.py2 Doxyrunner Sphinx Plugin
6 SPDX-License-Identifier: Apache-2.0
11 This Sphinx plugin can be used to run Doxygen build as part of the Sphinx build
13 to improve the user experience. The principal features offered by this plugin
16 - Doxygen build is run before Sphinx reads input files
17 - Doxyfile can be optionally pre-processed so that variables can be inserted
18 - Changes in the Doxygen input files are tracked so that Doxygen build is only
20 - Synchronizes Doxygen XML output so that even if Doxygen is run only changed,
25 - https://github.com/michaeljones/breathe/issues/420
30 - ``doxyrunner_doxygen``: Path to the Doxygen binary.
[all …]
/Zephyr-latest/cmake/modules/
Dwest.cmake1 # SPDX-License-Identifier: Apache-2.0
16 # Cut out any symbolic links, e.g. python3.x -> python
37 -c
54 ${PYTHON_EXECUTABLE} -m pip install west\
59 set(WEST WEST-NOTFOUND CACHE INTERNAL "West")
65 # Keep this version identical to the one in scripts/requirements-base.txt
71 ${PYTHON_EXECUTABLE} -m pip install --upgrade west\
76 # cache the value so the Zephyr Eclipse plugin knows how to invoke West.
77 set(WEST ${PYTHON_EXECUTABLE} -m west CACHE INTERNAL "West")
95 set(WEST WEST-NOTFOUND CACHE INTERNAL "West")
/Zephyr-latest/scripts/tests/twister/
Dtest_environment.py5 # SPDX-License-Identifier: Apache-2.0
25 ['--short-build-path', '-k'],
26 '--short-build-path requires Ninja to be enabled'
32 ['--device-serial-pty', 'dummy'],
33 '--device-serial-pty is not supported on Windows OS'
39 ['--west-runner=dummy'],
40 'west-runner requires west-flash to be enabled'
46 ['--west-flash=\"--board-id=dummy\"'],
47 'west-flash requires device-testing to be enabled'
56 ['--enable-valgrind'],
[all …]
/Zephyr-latest/subsys/debug/
Dthread_info.c5 * SPDX-License-Identifier: Apache-2.0
34 /* Forward-compatibility notes: 1) Only append items to this table; otherwise
35 * debugger plugin versions that expect fewer items will read garbage values.
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Ddtlib.py2 # SPDX-License-Identifier: BSD-3-Clause
10 The top-level entry point of the library is the DT class. DT.__init__() takes a
30 "Exception raised for devicetree-related errors"
34 Represents a node in the devicetree ('node-name { ... };').
68 stored in big-endian format.
121 def name(self) -> str:
125 # Converted to a property to discourage renaming -- that has to be done
130 def lineno(self) -> int:
137 def filename(self) -> str:
144 def unit_addr(self) -> str:
[all …]
/Zephyr-latest/soc/altr/zephyr_nios2f/cpu/
Dghrd_10m50da.sopcinfo1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- Format version 17.0 595 (Future versions may contain additional information.) -->
4 <!-- 2017.12.05.14:35:53 -->
5 <!-- A collection of modules and connections -->
53 <value>-1</value>
63 <value>-1</value>
73 <value>-1</value>
103 <!-- Describes a single module. Module parameters are
104 the requested settings for a module instance. -->
127 <value>altr,16550-FIFO64 ns16550a</value>
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Denvironment.py4 # 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 \\
86 --test tests/kernel/fifo/fifo_api/kernel.fifo
[all …]
Dharness.py1 # SPDX-License-Identifier: Apache-2.0
74 def trace(self) -> bool:
78 def status(self) -> TwisterStatus:
82 def status(self, value : TwisterStatus) -> None:
117 def translate_record(self, record: dict) -> dict:
131 def parse_record(self, line) -> int:
232 self.instance.execution_time = time.time() - start_time
401 '--twister-harness',
402 '-s', '-v',
403 f'--build-dir={self.running_dir}',
[all …]
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/
Dsoc.c2 * Copyright 2017-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/linker/linker-defs.h>
18 #include <zephyr/dt-bindings/clock/imx_ccm.h>
46 .loopDivider = (DT_PROP(DT_CHILD(CCM_NODE, sys_pll), loop_div) - 20) / 2,
115 .plugin = PLUGIN_FLAG,
156 DCDC->REG3 = (DCDC->REG3 & (~DCDC_REG3_TRG_MASK)) | DCDC_REG3_TRG(CONFIG_DCDC_VALUE); in clock_init()
159 (DCDC_REG0_STS_DC_OK_MASK & DCDC->REG0)) { in clock_init()
181 CLOCK_SetDiv(kCLOCK_ArmDiv, DT_PROP(DT_CHILD(CCM_NODE, arm_podf), clock_div) - 1); in clock_init()
185 CLOCK_SetDiv(kCLOCK_AhbDiv, DT_PROP(DT_CHILD(CCM_NODE, ahb_podf), clock_div) - 1); in clock_init()
[all …]
/Zephyr-latest/boards/phytec/phyboard_polis/doc/
Dindex.rst3 phyBOARD-Polis i.MX8M Mini
9 The phyBOARD-Polis, either a development platform for the
10 phyCORE-i.MX 8M Mini/Nano, or a powerful, industry-compatible single-board
12 platform, the phyBOARD-Polis serves as reference design for your
13 customer-specific application and enables parallel development of the software
14 and carrier board for the phyCORE-i.MX 8M Mini/Nano.
17 As a powerful, industrial single-board computer (SBC), the phyBOARD-Polis is
20 phyCORE-i.MX 8M Mini/Nano features such as CAN FD, WLAN and an integrated
22 the phyCORE-i.MX 8M Mini/Nano.
24 - Board features:
[all …]
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/
Dsoc.c2 * Copyright 2021-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/linker/linker-defs.h>
25 #include <zephyr/dt-bindings/clock/imx_ccm_rev2.h>
33 memcpy((uint32_t *)((SEGMENT_LMA_ADDRESS_##n) - ADJUSTED_LMA), \
72 "ARM PLL must have clock-mult property");
74 "ARM PLL must have clock-div property");
139 .plugin = PLUGIN_FLAG,
174 if (((OCOTP->FUSEN[7].FUSE & 0x10U) >> 4U) != 1) { in clock_init()
190 if ((ANADIG_LDO_SNVS->PMU_LDO_LPSR_ANA & in clock_init()
[all …]
/Zephyr-latest/boards/pjrc/teensy4/doc/
Dindex.rst9 The Teensy is a complete USB-based microcontroller development system, in a
15 .. group-tab:: Teensy 4.0
23 .. group-tab:: Teensy 4.1
36 .. group-tab:: Teensy 4.0
38 - MIMXRT1062DVL6A MCU (600 MHz, 1024 KB on-chip memory)
39 - 16 Mbit QSPI Flash
40 - User LED
41 - USB 2.0 host connector
45 .. group-tab:: Teensy 4.1
47 - MIMXRT1062DVJ6A MCU (600 MHz, 1024 KB on-chip memory)
[all …]
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.bash1 # Bash auto-completion for west subcommands and flags. To initialize, run
3 # source west-completion.bash
7 __west_previous_extglob_setting=$(shopt -p extglob)
8 shopt -s extglob
12 # bash_completion - programmable completion functions for bash 3.2+
14 # Copyright © 2006-2008, Ian Macdonald <ian@caliban.org>
15 # © 2009-2010, Bash Completion Maintainers
16 # <bash-completion-devel@lists.alioth.debian.org>
33 # http://bash-completion.alioth.debian.org/
41 # if test "${words_[cword_-1]}" = -w
[all …]

12