Home
last modified time | relevance | path

Searched +full:python +full:- +full:magic (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.4.0/scripts/
Drequirements-compliance.txt4 python-magic
5 python-magic-bin; sys_platform == "win32"
/Zephyr-Core-3.4.0/samples/modules/tflite-micro/magic_wand/train/
DREADME.md1 # Gesture Recognition Magic Wand Training Scripts
6 classifies gestures based on accelerometer data. The code uses Python 3.7 and
12 …his project was inspired by the [Gesture Recognition Magic Wand](https://github.com/jewang/gesture
19 Three magic gestures were chosen, and data were collected from 7
34 <table class="tfo-notebook-buttons" align="left">
39 …agic_wand_model.ipynb"><img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" />View so…
50 pip install numpy==1.16.2 tensorflow==2.0.0-beta1
55 - Random data split, which mixes different people's data together and randomly
57 - Person data split, which splits the data by person
65 $ python data_prepare.py
[all …]
/Zephyr-Core-3.4.0/.github/workflows/
Dcompliance.yml7 runs-on: ubuntu-22.04
10 - name: Update PATH for west
14 - name: Checkout the code
18 fetch-depth: 0
20 - name: cache-pip
24 key: ${{ runner.os }}-doc-pip
26 - name: Install python dependencies
30 pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint
33 - name: west setup
37 git config --global user.email "you@example.com"
[all …]
/Zephyr-Core-3.4.0/scripts/ci/
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
23 import magic
46 f"{cp.stdout.decode('utf-8')}\n"
48 f"{cp.stderr.decode('utf-8')}\n")
50 return cp.stdout.decode("utf-8").rstrip()
59 return git('rev-list',
60 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
63 filter_arg = (f'--diff-filter={filter}',) if filter else ()
64 paths_arg = ('--', *paths) if paths else ()
65 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
[all …]
/Zephyr-Core-3.4.0/doc/develop/west/
Dsign.rst1 .. _west-sign:
6 The ``west sign`` :ref:`extension <west-extensions>` command can be used to
8 external tool. Run ``west sign -h`` for command line help.
23 :ref:`hello_world` application for chain-loading by MCUboot. Run these commands
27 .. code-block:: console
29 west build -b YOUR_BOARD bootloader/mcuboot/boot/zephyr -d build-mcuboot
30 west build -b YOUR_BOARD zephyr/samples/hello_world -d build-hello-signed -- \
31 -DCONFIG_BOOTLOADER_MCUBOOT=y \
32 -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\"
34 west flash -d build-mcuboot
[all …]
/Zephyr-Core-3.4.0/scripts/kconfig/
Dkconfiglib.py1 # Copyright (c) 2011-2019, Ulf Magnusson
2 # SPDX-License-Identifier: ISC
8 Kconfiglib is a Python 2/3 library for scripting and extracting information
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
30 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
53 ----------------
55 This target runs the curses menuconfig interface with Python 3. As of
[all …]
Dguiconfig.py4 # SPDX-License-Identifier: ISC
10 # pylint: disable=undefined-variable
16 A Tkinter-based menuconfig implementation, based around a treeview control and
18 ('make xconfig'). Compatible with both Python 2 and Python 3.
21 single menu (like menuconfig.py). Only single-menu mode distinguishes between
24 A show-all mode is available that shows invisible items in red.
29 Ctrl-S : Save configuration
30 Ctrl-O : Open configuration
31 Ctrl-A : Toggle show-all mode
32 Ctrl-N : Toggle show-name mode
[all …]
/Zephyr-Core-3.4.0/scripts/west_commands/runners/
Dbossac.py4 # SPDX-License-Identifier: Apache-2.0
6 '''bossac-specific runner (flash only) for Atmel SAM microcontrollers.'''
25 '''Runner front-end for bossac.'''
45 parser.add_argument('--bossac', default='bossac',
47 parser.add_argument('--bossac-port', default=DEFAULT_BOSSAC_PORT,
50 parser.add_argument('--speed', default=DEFAULT_BOSSAC_SPEED,
53 parser.add_argument('--delay', default=0, type=float,
66 """Run bossac --help and return the output as a list of lines"""
70 out = self.check_output([self.bossac, '--help']).decode()
97 # Get the EDT Node corresponding to the zephyr,code-partition
[all …]
/Zephyr-Core-3.4.0/scripts/pylib/twister/twisterlib/
Dsize_calc.py2 # vim: set syntax=python ts=4 :
5 # SPDX-License-Identifier: Apache-2.0
74 # These get copied into RAM only on non-XIP
136 print("%-17s 0x%08x 0x%08x %8d 0x%05x %-7s" %
169 def get_available_ram(self) -> int:
176 def get_available_rom(self) -> int:
193 def _check_elf_file(self) -> None:
196 magic = f.read(4)
199 if magic != b'\x7fELF':
205 def _check_is_xip(self) -> None:
[all …]
/Zephyr-Core-3.4.0/scripts/dts/
Dgen_defines.py3 # Copyright (c) 2019 - 2020 Nordic Semiconductor ASA
5 # SPDX-License-Identifier: BSD-3-Clause
16 # Note: Do not access private (_-prefixed) identifiers from edtlib here (and
30 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree',
62 "-Wno-simple_bus_reg" not in args.dtc_flags,
73 with open(args.dts_out, "w", encoding="utf-8") as f:
96 with open(args.header_out, "w", encoding="utf-8") as header_file:
106 # Check to see if we have duplicate "zephyr,memory-region" property values.
109 if 'zephyr,memory-region' in node.props:
110 region = node.props['zephyr,memory-region'].val
[all …]
/Zephyr-Core-3.4.0/soc/xtensa/intel_adsp/tools/
Dcavstool.py3 # SPDX-License-Identifier: Apache-2.0
18 log = logging.getLogger("cavs-fw")
22 HUGEPAGE_FILE = "/dev/hugepages/cavs-fw-dma.tmp."
27 # Window 1 is the IPC "inbox" (host-writable memory, just 384 bytes currently)
29 # Window 3 is winstream-formatted log output
95 self.regs.LVI = self.n_bufs - 1
191 p = runx(f"grep -iEl 'PCI_CLASS=40(10|38)0' /sys/bus/pci/devices/*/uevent")
209 runx(f"rmmod -f {mod}")
271 # 128-byte (minimum size and alignment) buffer after the main one, and put
272 # the 4-entry BDL list into the final 128 bytes of the page.
[all …]
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-1.12.rst12 - Asymmetric multiprocessing (AMP) via integration of OpenAMP
13 - Persistent storage support for Bluetooth Low Energy including Mesh
14 - 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network
15 - Support multiple concurrent filesystem devices, partitions, and FS types
16 - Ethernet network management interface
17 - Networking traffic prioritization on a per-connection basis
18 - Support for Ethernet statistical counters
19 - Support for TAP net device on the native POSIX port
20 - Command-line Zephyr meta-tool "west"
21 - SPI slave support
[all …]
Drelease-notes-1.13.rst16 * Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP)
23 * Basic support for Arm TrustZone in Armv8-M
42 * arch: arm: implement ARMv8-M MPU driver
44 * arch: arm: macro API for defining non-secure entry functions
48 * arch: ARM: Change the march used by cortex-m0 and cortex-m0plus
50 * arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33
51 * arch: arm: built-in stack protection using Armv8-M SPLIM registers
52 * arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware
63 * riscv32: riscv-privilege: Microsemi Mi-V support
99 * modem: Added Wistron WNC-M14A2A LTE-M Modem driver
[all …]
Drelease-notes-3.0.rst22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
69 * The following Kconfig options related to radio front-end modules (FEMs) were
[all …]