Home
last modified time | relevance | path

Searched full:python (Results 1 – 25 of 264) sorted by relevance

1234567891011

/Zephyr-latest/.github/workflows/
Ddevicetree_checks.yml29 python-version: ['3.10', '3.11', '3.12', '3.13']
34 - name: Set up Python ${{ matrix.python-version }}
35 uses: actions/setup-python@v5
37 python-version: ${{ matrix.python-version }}
43 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
45 ${{ runner.os }}-pip-${{ matrix.python-version }}
52 key: ${{ runner.os }}-pip-${{ matrix.python-version }}-
54 ${{ runner.os }}-pip-${{ matrix.python-version }}-
60 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
62 ${{ runner.os }}-pip-${{ matrix.python-version }}
[all …]
Dwest_cmds.yml32 python-version: ['3.10', '3.11', '3.12', '3.13']
37 - name: Set up Python ${{ matrix.python-version }}
38 uses: actions/setup-python@v5
40 python-version: ${{ matrix.python-version }}
46 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
48 ${{ runner.os }}-pip-${{ matrix.python-version }}
55 key: ${{ runner.os }}-pip-${{ matrix.python-version }}-
57 ${{ runner.os }}-pip-${{ matrix.python-version }}-
63 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
65 ${{ runner.os }}-pip-${{ matrix.python-version }}
[all …]
Dpylib_tests.yml28 python-version: ['3.10', '3.11', '3.12', '3.13']
33 - name: Set up Python ${{ matrix.python-version }}
34 uses: actions/setup-python@v5
36 python-version: ${{ matrix.python-version }}
42 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
44 ${{ runner.os }}-pip-${{ matrix.python-version }}
Dtwister_tests.yml35 python-version: ['3.10', '3.11', '3.12', '3.13']
40 - name: Set up Python ${{ matrix.python-version }}
41 uses: actions/setup-python@v5
43 python-version: ${{ matrix.python-version }}
49 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
51 ${{ runner.os }}-pip-${{ matrix.python-version }}
Dscripts_tests.yml28 python-version: ['3.10', '3.11', '3.12', '3.13']
51 - name: Set up Python ${{ matrix.python-version }}
52 uses: actions/setup-python@v5
54 python-version: ${{ matrix.python-version }}
61 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
63 ${{ runner.os }}-pip-${{ matrix.python-version }}
Dtwister_tests_blackbox.yml24 python-version: ['3.10', '3.11', '3.12', '3.13']
55 - name: Set Up Python ${{ matrix.python-version }}
56 uses: actions/setup-python@v5
58 python-version: ${{ matrix.python-version }}
66 echo "$(which python)"
/Zephyr-latest/scripts/dts/
DREADME.txt5 The libraries and tests have now been moved to the 'python-devicetree'
15 https://python-devicetree.readthedocs.io/en/latest/
16 https://github.com/zephyrproject-rtos/python-devicetree
18 The 'python-devicetree' subdirectory you find here next to this
19 README.txt matches the standalone python-devicetree repository linked
30 Eventually, as APIs stabilize, the python-devicetree code in this
Dgen_edt.py28 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree',
94 # Pickle protocol version 4 is the default as of Python 3.8
96 # recommended on all versions of Python that Zephyr supports
97 # (at time of writing, Python 3.6 was Zephyr's minimum
101 # reproducibility issues in different Python installations.
/Zephyr-latest/tests/drivers/can/host/
DREADME.rst9 This test suite uses `python-can`_ for testing Controller Area Network (CAN) communication between a
17 * The python-can library installed on the host PC.
29 The host end of the CAN fixture can be configured through python-can. Available configuration
30 options depend on the type of host CAN adapter used. The python-can library provides a lot of
31 flexibility for configuration as decribed in the `python-can configuration`_ page, all centered
35 * By default, the python-can configuration context is not specified, causing python-can to use the
38 ``:`` (i.e. specify fixture ``can:zcan0`` to use the ``zcan0`` python-can configuration context).
41 python-can configuration context).
60 Next, python-can needs to be configured for the ``zcan0`` interface. One option is to use a
87 adapter must be supported by python-can. The examples below assumes using a Linux SocketCAN
[all …]
/Zephyr-latest/cmake/modules/
Dpython.cmake5 # On Windows, instruct Python to output UTF-8 even when not
6 # interacting with a terminal. This is required since Python scripts
24 # find_program(PYTHON_EXECUTABLE_SYSTEM_DEFAULT "python" "python3")
25 # cause just using find_program directly could result in a python2.7 as python,
27 foreach(candidate "python" "python3")
45 # Zephyr internally used Python variable.
Ddoc.cmake10 # - python
21 include(python)
Dwest.cmake5 include(python)
8 # Python interpreter as everything else, though, so we play some extra
16 # Cut out any symbolic links, e.g. python3.x -> python
48 The Python version used by west is: ${WEST_PYTHON}${west_realpath_msg}\n\
49 The Python version used by CMake is: ${PYTHON_EXECUTABLE}${python_realpath_msg}")
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
Dsetup.cfg14 Programming Language :: Python :: 3.8
15 Programming Language :: Python :: 3.9
16 Programming Language :: Python :: 3.10
17 Programming Language :: Python :: 3.11
/Zephyr-latest/scripts/coccinelle/
Dboolean.cocci12 @initialize:python@
27 @ script:python @
45 @ script:python @
59 @ script:python @
74 @ script:python @
95 @ script:python @
Dsame_identifier.cocci11 @initialize:python@
26 @ script:python @
47 @ script:python @
68 @ script:python @
Dfind_functions.cocci7 // Generate a q&d python database (a dict actually) of all the
24 @initialize:python
71 @script:python
103 @script:python
116 @finalize:python
Dreserved_names.cocci11 @initialize:python@
42 @ script:python @
62 @ script:python @
83 @ script:python @
Dsemicolon.cocci58 @script:python@
70 @script:python depends on report@
80 @script:python depends on org@
/Zephyr-latest/scripts/dts/python-devicetree/
Dtox.ini13 python -m pytest {posargs:tests}
14 python -m mypy --config-file={toxinidir}/tox.ini --package=devicetree
Dsetup.py23 description='Python libraries for devicetree',
27 url='https://github.com/zephyrproject-rtos/python-devicetree',
31 'Programming Language :: Python :: 3 :: Only',
/Zephyr-latest/scripts/
Drequirements-compliance.txt11 python-magic
12 python-magic-bin; sys_platform == "win32"
Drequirements-build-test.txt3 # things used by twister or other things like code coverage or python
9 # python lex/yex used by twister
/Zephyr-latest/doc/develop/west/
Dinstall.rst6 West is written in Python 3 and distributed through `PyPI`_.
18 See :ref:`python-pip` for additional clarification on using the
32 West's code is distributed via PyPI in a Python package named ``west``.
43 In addition to its command-line interface, you can also use west's Python
/Zephyr-latest/samples/modules/canopennode/
DREADME.rst130 The examples here uses `CANopen for Python`_ for communicating between
131 the host PC and Zephyr. First, install python-canopen along with the
132 python-can backend as follows:
136 pip3 install --user canopen python-can
138 Next, configure python-can to use your CAN adapter through its
151 Please refer to the `python-can`_ documentation for further details
174 accomplished using the following Python code:
216 Running the above Python code will update the NMT state of the node
223 name) can be accomplished using the following Python code:
247 Running the above Python code should produce the following output:
[all …]
/Zephyr-latest/doc/contribute/documentation/
Dgeneration.rst82 * All Python dependencies listed in the repository file
96 Common to all Linux installations, install the Python dependencies
132 Install the Python dependencies required to build the documentation:
148 Install the Python dependencies required to build the documentation:
162 the ``Scripts`` folder of your Python installation path.
163 Depending on how you have installed Python, you might need to
165 the instructions in `Windows Python Path`_ to add those if needed.
266 The generated HTML documentation can be hosted locally with python for viewing
304 .. _Windows Python Path: https://docs.python.org/3/using/windows.html#finding-the-python-executable

1234567891011