Home
last modified time | relevance | path

Searched +full:- +full:- +full:flatten (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/scripts/ci/
Dupload_test_results_es.py3 # Copyright (c) 2022-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
24 def flatten(name, value, name_sep="_", names_dict=None, parent_name=None, escape_sep=""): function
26 Flatten ``value`` into a plain dictionary.
31 … :param names_dict: An optional dictionary with 'foo':'bar' items to flatten 'foo' list properties
35 :param parent_name: the short, single-level, name of the ``value``.
36 :param value: object to flatten, for example, a dictionary:
88 flat_item = flatten(flat_name, val_, name_sep, names_dict, parent_name, escape_sep)
91 flat_item = flatten(flat_name, val, name_sep, names_dict, parent_name, escape_sep)
99 flat_item = flatten(name_k, val, name_sep, names_dict, key, escape_sep)
[all …]
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md17 For other command line options and more details run the upload script with `--help`,
24 It is recommended to try the upload script with `--dry-run` option first
36 python3 ./scripts/ci/upload_test_results_es.py --create-index \
37 --index YOUR_INDEX_NAME \
38 --map-file YOUR_INDEX_MAP.json
47 (see `--help` for more details):
49 * `--exclude` removes excess testsuite properties not needed to store them
52 * `--transform` applies regexp group parsing rules to string properties extracting
55 * `--flatten` changes testsuite data structure in regard of one of its list components:
63 * Other command line options: `--flatten-dict-name`, `--flatten-list-names`,
[all …]
/Zephyr-latest/tests/drivers/flash/negative_tests/src/
Dmain.c2 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
22 * fixed-partition nodes.
59 TC_PRINT("Test will run on device %s\n", flash_dev->name); in flash_driver_setup()
88 * hardware-specific multiples of page size and offset. in ZTEST()
92 rc = flash_erase(flash_dev, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
125 rc = flash_fill(flash_dev, fill_val, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
158 /* Check error returned when flatten memory at wrong address (too low) */ in ZTEST()
159 rc = flash_flatten(flash_dev, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
162 /* Check error returned when flatten memory at wrong address (too high) */ in ZTEST()
[all …]
/Zephyr-latest/.github/workflows/
Dfootprint-tracking.yml6 - cron: '50 1/12 * * *'
9 - 'VERSION'
10 - '.github/workflows/footprint-tracking.yml'
12 - main
13 - v*-branch
15 # only publish v* tags, do not care about zephyr-v* which point to the
17 - 'v*'
20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
21 cancel-in-progress: true
24 footprint-tracking:
[all …]
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c7 * SPDX-License-Identifier: Apache-2.0
30 zassert_equal(rc, -ENOENT, "Open did not fail"); in ZTEST()
32 zassert_equal(rc, -ENOENT, "Open did not fail"); in ZTEST()
92 zassert_equal(fa->fa_dev, flash_dev_a, "Device for slot1_partition do not match"); in ZTEST()
117 zassert_equal(fa->fa_dev, flash_dev_a, "Device for slot1_partition do not match"); in ZTEST()
136 param = flash_get_parameters(fa->fa_dev); in ZTEST()
138 zassert_equal(param->erase_value, val, in ZTEST()
170 rc = flash_erase(flash_dev, fa->fa_off, fa->fa_size); in ZTEST()
173 rc = flash_fill(flash_dev, 0xaa, fa->fa_off, fa->fa_size); in ZTEST()
176 rc = flash_area_erase(fa, 0, fa->fa_size); in ZTEST()
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain.py8 # http://www.apache.org/licenses/LICENSE-2.0
16 # pylint: disable=g-bad-import-order
26 import os # pylint: disable=duplicate-code
29 import numpy as np # pylint: disable=duplicate-code
32 logdir = "logs/scalars/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
37 reshaped_data = tf.reshape(data, [-1, 3, 1])
64 tf.keras.layers.Flatten(), # (batch, 224)
112 model_path, # pylint: disable=unused-argument
113 train_len, # pylint: disable=unused-argument
134 for data, label in test_data: # pylint: disable=unused-variable
[all …]
/Zephyr-latest/scripts/
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
67 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
78 -q, --quiet quiet
79 --no-tree run without a kernel tree
80 --no-signoff do not check for 'Signed-off-by' line
81 --patch treat FILE as patchfile (default)
82 --emacs emacs compile window format
83 --terse one line per report
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfiglib.py1 # Copyright (c) 2011-2019, Ulf Magnusson
2 # SPDX-License-Identifier: ISC
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 ----------------
61 --------------
69 --------------------------------
[all …]