Home
last modified time | relevance | path

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

123456

/Zephyr-Core-2.7.6/.github/workflows/
Ddevicetree_checks.yml27 python-version: [3.6, 3.7, 3.8]
31 python-version: 3.6
33 python-version: 3.6
37 - name: Set up Python ${{ matrix.python-version }}
38 uses: actions/setup-python@v4
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 }}-
[all …]
Dwest_cmds.yml28 python-version: [3.6, 3.7, 3.8]
32 python-version: 3.6
34 python-version: 3.6
38 - name: Set up Python ${{ matrix.python-version }}
39 uses: actions/setup-python@v4
41 python-version: ${{ matrix.python-version }}
47 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
49 ${{ runner.os }}-pip-${{ matrix.python-version }}
56 key: ${{ runner.os }}-pip-${{ matrix.python-version }}-
58 ${{ runner.os }}-pip-${{ matrix.python-version }}-
[all …]
Dtwister_tests.yml30 python-version: [3.6, 3.7, 3.8]
35 - name: Set up Python ${{ matrix.python-version }}
36 uses: actions/setup-python@v4
38 python-version: ${{ matrix.python-version }}
44 key: ${{ runner.os }}-pip-${{ matrix.python-version }}
46 ${{ runner.os }}-pip-${{ matrix.python-version }}
/Zephyr-Core-2.7.6/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
/Zephyr-Core-2.7.6/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@
Dfind_dev_usage.cocci4 // Uses a python database (a dict) to find where const struct device
17 @initialize:python
56 @script:python
Dint_ms_to_timeout.cocci84 @script:python
154 @script:python
163 @script:python
217 @script:python
273 @script:python
324 @script:python
Dunsigned_lesser_than_zero.cocci21 @script:python depends on org@
28 @script:python depends on report@
/Zephyr-Core-2.7.6/cmake/
Dpython.cmake3 # On Windows, instruct Python to output UTF-8 even when not
4 # interacting with a terminal. This is required since Python scripts
14 # We are using foreach here, instead of find_program(PYTHON_EXECUTABLE_SYSTEM_DEFAULT "python" "pyt…
15 # cause just using find_program directly could result in a python2.7 as python, and not finding a v…
16 foreach(PYTHON_PREFER ${PYTHON_PREFER} ${WEST_PYTHON} "python" "python3")
Dwest.cmake4 # Python interpreter as everything else, though, so we play some extra
12 # Cut out any symbolic links, e.g. python3.x -> python
44 The Python version used by west is: ${WEST_PYTHON}${west_realpath_msg}\n\
45 The Python version used by CMake is: ${PYTHON_EXECUTABLE}${python_realpath_msg}")
73 # From west 0.8 forward, you can run 'python -m west' to run
78 # possible to run 'python -m west.app.main'.
/Zephyr-Core-2.7.6/samples/modules/canopennode/
DREADME.rst79 The examples here uses `CANopen for Python`_ for communicating between
80 the host PC and Zephyr. First, install python-canopen along with the
81 python-can backend as follows:
85 pip3 install --user canopen python-can
87 Next, configure python-can to use your CAN adapter through its
100 Please refer to the `python-can`_ documentation for further details
123 accomplished using the following Python code:
164 Running the above Python code will update the NMT state of the node
171 name) can be accomplished using the following Python code:
194 Running the above Python code should produce the following output:
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/
Dsetup.py24 description='Python libraries for devicetree',
28 url='https://github.com/zephyrproject-rtos/python-devicetree',
32 'Programming Language :: Python :: 3 :: Only',
Dtox.ini13 python -m pytest {posargs:tests}
14 python -m mypy --config-file={toxinidir}/tox.ini --package=devicetree
/Zephyr-Core-2.7.6/scripts/
Drequirements-build-test.txt3 # things used by twister or other things like code coverage or python
9 # python lex/yex used by twister
/Zephyr-Core-2.7.6/samples/modules/tflite-micro/magic_wand/train/
DREADME.md6 classifies gestures based on accelerometer data. The code uses Python 3.7 and
65 $ python data_prepare.py
67 $ python data_split.py
69 $ python train.py --model CNN --person false
78 $ python data_prepare.py
80 $ python data_split_person.py
82 $ python train.py --model CNN --person true
/Zephyr-Core-2.7.6/doc/guides/bluetooth/autopts/
Dautopts-linux.rst52 Get Zephyr and install Python dependencies
78 Zephyr’s scripts/requirements.txt file declares additional Python dependencies.
206 Install Python 3
209 Download and install latest `Python 3 <https://www.python.org/downloads/>`_ on Windows.
210 Let the installer add the Python installation directory to the PATH and
321 sudo apt-get install python-setuptools socat
323 Install required python modules:
339 Install required python modules:
356 python ./autoptsserver.py
370python ./autoptsclient-zephyr.py "C:\Users\USER_NAME\Documents\Profile Tuning Suite\PTS_PROJECT\PT…
[all …]
Dautopts-win10.rst23 Install Python 3
26 Download and install `Python 3 <https://www.python.org/downloads/>`_.
27 Setup was tested with versions >=3.8. Let the installer add the Python
111 Zephyr’s scripts/requirements.txt file declares additional Python
343 Install required python modules:
376 python ./autoptsserver.py -S 65000
396python ./autoptsclient-zephyr.py zephyr-master ~/zephyrproject/build/zephyr/zephyr.elf -t COM3 -b …
431 - Check, if firewall in not blocking python.exe or socat.exe.
/Zephyr-Core-2.7.6/doc/guides/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
Dtroubleshooting.rst57 you installed Python and pip, so ordinarily you should not need to follow these
67 C:\foo\python\python38\lib\site-packages``. The exact location
70 ``C:\foo\python\python38\scripts``.
79 setx PATH "%PATH%;C:\foo\python\python38\scripts"
117 **Workaround 2**: install west in a Python virtual environment
119 One option is to use the `venv module`_ that's part of the Python 3 standard
120 library. Some distributions remove this module from their base Python 3
125 https://docs.python.org/3/library/venv.html
/Zephyr-Core-2.7.6/doc/getting_started/
Dinstallation_linux.rst98 os-core-dev python-basic python3-basic python3-tcl
123 python-pip python-setuptools python-wheel tk xz file make
169 you'll need to add ~/.local/bin to your PATH. (See :ref:`python-pip`
195 Python subsection
198 A `modern Python 3 version <install-required-tools>` is required. Check what
201 If you have an older version, you will need to install a more recent Python 3.
203 manager channels if one is available. Isolating this Python in a virtual
204 environment is recommended to avoid interfering with your system Python.
Dindex.rst67 * - `Python <https://www.python.org/>`_
166 choco install ninja gperf python git dtc-msys2
180 Get Zephyr and install Python dependencies
185 additional Python dependencies.
187 Python is used by the ``west`` meta-tool as well as by many scripts invoked by
191 reason it is suggested to use `Python virtual environments`_.
193 .. _Python virtual environments: https://docs.python.org/3/library/venv.html
228 #. Zephyr's ``scripts/requirements.txt`` file declares additional Python
280 #. Zephyr's ``scripts/requirements.txt`` file declares additional Python
315 #. Zephyr's ``scripts/requirements.txt`` file declares additional Python
[all …]

123456