Home
last modified time | relevance | path

Searched +full:key +full:- +full:list +full:- +full:string (Results 1 – 25 of 130) sorted by relevance

123456

/Zephyr-latest/tests/cmake/yaml/
Dtest.yaml3 key-string: "Simple string"
4 key-int: 42
5 key-list-int:
6 - 4
7 - 10
8 - 2
9 key-list-string:
10 - "a"
11 - "list"
12 - "of"
[all …]
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
42 set(expected "Simple string")
43 yaml_get(actual NAME yaml-test KEY cmake test key-string)
46 COMMENT "yaml key value does not match expectation."
52 yaml_length(actual NAME yaml-test KEY cmake test key-list-string)
54 COMMENT "yaml list length does not match expectation."
57 set(expected "a" "list" "of" "strings")
58 yaml_get(actual NAME yaml-test KEY cmake test key-list-string)
62 COMMENT "list values mismatch."
69 yaml_get(actual NAME yaml-test KEY cmake test key-int)
[all …]
/Zephyr-latest/cmake/modules/
Dyaml.cmake1 # SPDX-License-Identifier: Apache-2.0
9 # It supports basic key-value pairs, like
12 # basic key-object pairs, like
18 # - foo1
19 # - foo2
20 # - foo3
27 # - alpha
28 # - beta
29 # - gamma
32 # Support for list of objects are currently experimental and not guranteed to work.
[all …]
Dzephyr_module.cmake1 # SPDX-License-Identifier: Apache-2.0
16 # A list of Zephyr modules can be provided to the build system using:
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
22 # If west is installed, it uses west's APIs to obtain a list of projects to
27 # - `ZEPHYR_<MODULE_NAME>_CMAKE_DIR` is used for inclusion of the CMakeLists.txt
28 # - `ZEPHYR_<MODULE_NAME>_KCONFIG` is used for inclusion of the Kconfig
36 set(ZEPHYR_MODULES_ARG "--modules" ${ZEPHYR_MODULES})
41 set(EXTRA_ZEPHYR_MODULES_ARG "--extra-modules" ${EXTRA_ZEPHYR_MODULES})
57 --zephyr-base=${ZEPHYR_BASE}
60 --kconfig-out ${kconfig_modules_file}
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/util/include/mgmt/mcumgr/util/
Dzcbor_bulk.h2 * Copyright (c) 2022-2023 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
18 struct zcbor_string key; /* Map key string */ member
19 zcbor_decoder_t *decoder; /* Key corresponding decoder */
24 /** @brief Define single key-decoder mapping
28 * @param k key is "" enclosed string representing key;
32 * @param vp non-NULL pointer for result of decoding; should correspond
39 .len = sizeof(k) - 1, \
46 /** @brief Define single key-value decode mapping
54 * @param k key; the @p k will be stringified so should be given
[all …]
/Zephyr-latest/subsys/mgmt/osdp/
DKconfig.cp4 # SPDX-License-Identifier: Apache-2.0
16 string "List of connected Peripheral Device addresses"
20 string should exactly match the number of connected PDs specified above
48 string "Secure Channel Master Key"
51 Hexadecimal string representation of the 16 byte OSDP Secure Channel
52 master Key. This is a mandatory key when secure channel is enabled.
/Zephyr-latest/scripts/
Dtwister4 # SPDX-License-Identifier: Apache-2.0
12 list defined in an architecture configuration file, and if possible
19 that testsuite meta-data. The full canonical name for each test case is <path to
22 Each test block in the testsuite meta data can define the following key/value
25 tags: <list of tags> (required)
26 A set of string tags for the testsuite. Usually pertains to
34 Don't build or run this test case unless --enable-slow was passed
35 in on the command line. Intended for time-consuming test cases
39 extra_args: <list of extra arguments>
43 extra_configs: <list of extra configurations>
[all …]
Dget_maintainer.py4 # SPDX-License-Identifier: Apache-2.0
16 ./get_maintainer.py path --help
60 "-m", "--maintainers",
63 "the top-level repository directory is used, and must exist. "
65 "to the top-level directory.")
68 help="Available commands (each has a separate --help text)")
72 help="List area(s) for paths")
77 help="Path to list areas for")
82 help="List area(s) for commit range")
87 help="Commit range to list areas for (default: HEAD~..)")
[all …]
/Zephyr-latest/tests/boot/test_mcuboot/
Dsysbuild.cmake2 # SPDX-License-Identifier: Apache-2.0
4 # Add the mcuboot key file to the secondary swapped app
5 # This must be done here to ensure that the same key file is used for signing
8 \"${SB_CONFIG_BOOT_SIGNATURE_KEY_FILE}\" CACHE STRING
9 "Signature key file for signing" FORCE)
17 # Add the swapped app to the list of images to flash
19 # - mcuboot
20 # - swapped app
21 # - primary app (test_mcuboot)
/Zephyr-latest/scripts/ci/
Dpylintrc2 # SPDX-License-Identifier: Apache-2.0
8 # pylint3 --rcfile=ci-tools/scripts/pylintrc <Python file>
12 # pylint3 --rcfile=ci-tools/scripts/pylintrc $(git ls-files '*.py')
35 # 'pylint3 --list-msgs' to list messages and their IDs.
39 # no-member
40 # arguments-differ
41 # redefine-in-handler
42 # abstract-method
46 # no-else-return
47 # consider-using-get
[all …]
Dupload_test_results_es.py3 # Copyright (c) 2022-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
29 :param name_sep: string to separate flattened names; if the same string is already present
31 … :param names_dict: An optional dictionary with 'foo':'bar' items to flatten 'foo' list properties
34 the item's index in its parent list.
35 :param parent_name: the short, single-level, name of the ``value``.
64 :return: the ``value`` flattened to a plain dictionary where each key is concatenated from
82 if isinstance(value, list) and len(value):
94 for key,val in value.items():
95 if names_dict and key in names_dict:
[all …]
/Zephyr-latest/lib/hash/
Dhash_map_sc.c4 * SPDX-License-Identifier: Apache-2.0
12 #include <string.h>
20 uint64_t key; member
25 static void sys_hashmap_sc_entry_init(struct sys_hashmap_sc_entry *entry, uint64_t key, in sys_hashmap_sc_entry_init() argument
28 entry->key = key; in sys_hashmap_sc_entry_init()
29 entry->value = value; in sys_hashmap_sc_entry_init()
30 sys_dnode_init(&entry->node); in sys_hashmap_sc_entry_init()
35 sys_dlist_t *buckets = map->data->buckets; in sys_hashmap_sc_insert_entry()
36 uint32_t hash = map->hash_func(&entry->key, sizeof(entry->key)); in sys_hashmap_sc_insert_entry()
38 sys_dlist_append(&buckets[hash % map->data->n_buckets], &entry->node); in sys_hashmap_sc_insert_entry()
[all …]
/Zephyr-latest/subsys/settings/src/
Dsettings_shell.c4 * SPDX-License-Identifier: Apache-2.0
20 static int settings_list_callback(const char *key, in settings_list_callback() argument
32 if (params->subtree != NULL) { in settings_list_callback()
33 shell_print(params->shell_ptr, "%s/%s", params->subtree, key); in settings_list_callback()
35 shell_print(params->shell_ptr, "%s", key); in settings_list_callback()
70 static int settings_read_callback(const char *key, in settings_read_callback() argument
81 if (settings_name_next(key, NULL) != 0) { in settings_read_callback()
85 params->value_found = true; in settings_read_callback()
89 shell_error(params->shell_ptr, "Failed to read value: %d", (int) num_read_bytes); in settings_read_callback()
94 shell_warn(params->shell_ptr, "Value is empty"); in settings_read_callback()
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py3 # SPDX-License-Identifier: BSD-3-Clause
17 but a binding can also come from a 'child-binding:' key in the binding for the
23 The top-level entry points for the library are the EDT and Binding classes.
31 # --------------------
47 # - Consider using @property for APIs that don't need parameters. It makes
51 # - Think about the data type of the thing you're exposing. Exposing something
52 # as e.g. a list or a dictionary is often nicer and more flexible than adding
55 # - Avoid get_*() prefixes on functions. Name them after the thing they return
60 # - Don't expose dtlib stuff directly.
62 # - Add documentation for any new APIs you add.
[all …]
/Zephyr-latest/doc/build/dts/
Dbindings-syntax.rst1 .. _dt-bindings-file-syntax:
7 files are YAML files. A :ref:`simple example <dt-bindings-simple-example>` was
17 The top level of a bindings file maps keys to values. The top-level keys look
20 .. code-block:: yaml
24 This is the Vendomatic company's foo-device.
29 See https://yaml-multiline.info/ for formatting help.
35 compatible: "manufacturer,foo-device"
41 child-binding:
43 # using this key.
50 # SPI memory chip, use 'on-bus:' to say what type of bus, like this.
[all …]
/Zephyr-latest/scripts/west_commands/
Dboards.py3 # SPDX-License-Identifier: Apache-2.0
25 # Keep this in sync with the string in west-commands.yml.
39 --------------
41 Boards are listed using a Python 3 format string. Arguments
42 to the format string are accessed by name.
44 The default format string is:
50 - name: board name
51 - full_name: board full name (typically, its commercial name)
52 - qualifiers: board qualifiers (will be empty for legacy boards)
53 - arch: board architecture (deprecated)
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dtls_credentials_shell.rst6 The TLS Credentials shell provides a command-line interface for managing installed TLS credentials.
21 -----
25 .. code-block:: shell
33 .. code-block:: shell
38 ---------
40 .. csv-table::
44 …"``<DATA>``", "Text data to be appended to credential buffer. It can be either text, or base64-enc…
53 Credential contents can be provided in-line with the call to ``cred add``, or will otherwise be sou…
56 -----
60 .. code-block:: shell
[all …]
Dlwm2m.rst18 CoAP packet-size optimization and a simple, stateless flow that supports a
21 One of the key differences between LwM2M and CoAP is that an LwM2M client
35 .. list-table::
36 :header-rows: 1
38 * - Object ID
39 - Name
40 - Instance
41 - Mandatory
43 * - 3
44 - Device
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the
43 The simplest way to provision the device is through self-provisioning. To do this the user must
44 provision the device with the default network key and address ``0x0001``, execute::
48 Since all mesh nodes use the same values for the default network key, this can be done on multiple
49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision
51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external
58 * To set the network key index, call ``mesh target net <NetKeyIdx>``.
59 * To set the application key index, call ``mesh target app <AppKeyIdx>``.
62 network key.
68 ``mesh prov local`` command above), we can perform self-configuration through any of the
[all …]
Dprovisioning.rst25 Provisioning is a five-step process, involving the following steps:
29 * Public key exchange
44 Of Band information, such as the device's public key or an authentication
50 ---------------------------
54 encoded as a single utf-8 data point, or the special ``none`` scheme, encoded
56 <https://www.bluetooth.com/specifications/assigned-numbers/>`_.
60 .. list-table:: URI encoding examples
62 * - URI
63 - Encoded
64 * - ``http://example.com``
[all …]
/Zephyr-latest/cmake/
Dllext-edk.cmake2 # SPDX-License-Identifier: Apache-2.0
10 # all necessary headers and flags. File paths are made relative to a few key
15 # - llext_edk_name: Name of the extension, used to name the tarball and the
17 # - INTERFACE_INCLUDE_DIRECTORIES: List of include directories to copy headers
20 # - llext_edk_file: Output file name for the tarball.
21 # - llext_edk_cflags: Flags to be used for source compile commands.
22 # - ZEPHYR_BASE: Path to the zephyr base directory.
23 # - WEST_TOPDIR: Path to the west top directory.
24 # - APPLICATION_SOURCE_DIR: Path to the application source directory.
25 # - PROJECT_BINARY_DIR: Path to the project binary build directory.
[all …]
/Zephyr-latest/scripts/build/
Dgen_app_partitions.py5 # SPDX-License-Identifier: Apache-2.0
10 Applications may declare build-time memory domain partitions with
13 route all their data into appropriately-sized memory areas which meet the
18 tool generates is a necessary pre-condition for kernel linking. We extract
26 - The base directory to look for compiled objects
27 - key/value pairs mapping static library files to what partitions their globals
55 SMEM_PARTITION_ALIGN(z_data_smem_{0}_bss_end - z_data_smem_{0}_part_start);
75 SMEM_PARTITION_ALIGN(z_data_smem_{0}_bss_end - z_data_smem_{0}_part_start);
104 z_data_smem_{0}_part_size = z_data_smem_{0}_part_end - z_data_smem_{0}_part_start;
105 z_data_smem_{0}_bss_size = z_data_smem_{0}_bss_end - z_data_smem_{0}_bss_start;
[all …]
/Zephyr-latest/subsys/net/lib/wifi_credentials/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
16 module-str = wifi_credentials
57 bool "Shell commands to manage Wi-Fi credentials"
72 Wait period before falling back to the next entry in the list of stored SSIDs.
84 The PSA specification mandates to set key identifiers for keys
91 bool "Static Wi-Fi network configuration"
96 string "SSID of statically configured WiFi network"
99 string "Password of statically configured Wi-Fi network"
103 prompt "Static Wi-Fi network security type"
110 bool "WPA2-PSK"
[all …]
/Zephyr-latest/include/zephyr/settings/
Dsettings.h5 * SPDX-License-Identifier: Apache-2.0
46 #define SETTINGS_EXTRA_LEN ((SETTINGS_MAX_DIR_DEPTH - 1) + 2)
58 * @return positive: Number of bytes read, 0: key-value pair is deleted.
59 * On error returns -ERRNO code.
76 int (*h_get)(const char *key, char *val, int val_len_max);
80 * - key[in] the name with skipped part that was used as name in
82 * - val[out] buffer to receive value.
83 * - val_len_max[in] size of that buffer.
88 int (*h_set)(const char *key, size_t len, settings_read_cb read_cb,
93 * - key[in] the name with skipped part that was used as name in
[all …]
/Zephyr-latest/doc/develop/test/
Dtwister.rst20 When using (at least) one ``-v`` option, twister's console output
27 - The test is marked as ``build_only: true`` in its ``.yaml``
29 - The test configuration has defined a ``harness`` but you don't have
31 - The target device is not connected and not available for flashing
32 - You or some higher level automation invoked twister with
33 ``--build-only``.
39 .. group-tab:: Linux
41 .. code-block:: bash
43 $ source zephyr-env.sh
46 .. group-tab:: Windows
[all …]

123456