/Zephyr-latest/tests/boot/mcuboot_recovery_retention/boards/ |
D | nrf52840dk_nrf52840_mem.overlay | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 compatible = "zephyr,memory-region", "mmio-sram"; 7 zephyr,memory-region = "RetainedMem"; 11 compatible = "zephyr,retained-ram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 20 prefix = [08 04]; 28 zephyr,boot-mode = &boot_mode0; 29 zephyr,uart-mcumgr = &cdc_acm_uart; 37 compatible = "zephyr,cdc-acm-uart"; [all …]
|
/Zephyr-latest/doc/_templates/ |
D | zversions.html | 1 {# Add rst-badge after rst-versions for small badge style. #} 2 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> 3 <span class="rst-current-version" data-toggle="rst-current-version"> 4 <span class="fa fa-book"> Zephyr Project</span> 6 <span class="fa fa-caret-down"></span> 8 <div class="rst-other-versions"> 17 {% set prefix = current_version if is_release else "latest" %} 18 <dd><a href="/{{ prefix }}/zephyr.pdf">PDF</a></dd> 26 <a href="https://github.com/zephyrproject-rtos/sdk-ng/releases">SDK</a> 29 <a href="https://github.com/zephyrproject-rtos/zephyr/releases">Releases</a>
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | gh_utils.py | 8 SPDX-License-Identifier: Apache-2.0 29 - ``gh_link_version``: GitHub version to use in the URL (e.g. "main") 30 - ``gh_link_base_url``: Base URL used as a prefix for generated URLs. 31 - ``gh_link_prefixes``: Mapping of pages (regex) <> GitHub prefix. 32 - ``gh_link_exclude``: List of pages (regex) that will not report a URL. Useful 33 for, e.g., auto-generated pages not in Git. 61 def get_page_prefix(app: Sphinx, pagename: str) -> str: 62 """Return the prefix that needs to be added to the page path to get its location in the 73 Prefix if applicable, None otherwise. 84 for pattern, prefix in app.config.gh_link_prefixes.items(): [all …]
|
/Zephyr-latest/.github/workflows/ |
D | manifest.yml | 7 runs-on: ubuntu-22.04 10 - name: Checkout the code 15 fetch-depth: 0 16 persist-credentials: false 18 - name: west setup 21 working-directory: zephyrproject/zephyr 24 git config --global user.email "you@example.com" 25 git config --global user.name "Your Name" 26 west init -l . || true 28 - name: Manifest [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | 6lo.c | 9 * SPDX-License-Identifier: Apache-2.0 27 struct in6_addr prefix; member 38 return (opt->flag & 0x10) >> 4; in get_6co_compress() 43 return opt->flag & 0x0F; in get_6co_cid() 89 return -1; in get_ihpc_inlined_size() 118 /* TODO: Unicast-Prefix based IPv6 Multicast(dst) address compression 125 (UNALIGNED_GET(&addr->s6_addr16[1]) == 0x00) && in net_6lo_ll_prefix_padded_with_zeros() 126 (UNALIGNED_GET(&addr->s6_addr32[1]) == 0x00)); in net_6lo_ll_prefix_padded_with_zeros() 131 return ((UNALIGNED_GET(&addr->s6_addr32[2]) == htonl(0xFF)) && in net_6lo_addr_16_bit_compressible() 132 (UNALIGNED_GET(&addr->s6_addr16[6]) == htons(0xFE00))); in net_6lo_addr_16_bit_compressible() [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 3 # 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 # -------------------- 33 # A '_' prefix on an identifier in Python is a convention for marking it private. 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 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/releases/ |
D | migration-guide-3.6.rst | 35 instead use the new ``-DFILE_SUFFIX`` feature :ref:`application-file-suffixes`. 43 the prefix ``CONFIG_HEAP_MEM_POOL_ADD_SIZE_``. The old Kconfig option still exists, but will be 57 * NXP: Enabled :ref:`linkserver<linkserver-debug-host-tools>` to be the default runner on the 72 To enable them again use the ``west config manifest.project-filter -- +<module 73 name>`` command, or ``west config manifest.group-filter -- +optional`` to 81 command e.g. ``west flash --erase``. (:github:`64703`) 86 * If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must 116 * Various deprecated macros related to the deprecated devicetree label property 123 macro avoids run-time string comparisons, and is also safer because it will 126 .. list-table:: [all …]
|
D | release-notes-2.3.rst | 18 with future support for features like 64-bit and absolute timeouts in mind 21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant 24 * The CMSIS-DSP library is now included and integrated 33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String 34 into a fixed-size array. 35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS 37 * CVE-2020-10061: Improper handling of the full-buffer case in the 39 * CVE-2020-10062: Packet length decoding error in MQTT 40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due 42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain [all …]
|
D | release-notes-3.2.rst | 13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`). 15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`. 31 * CVE-2022-2993: Under embargo until 2022-11-03 33 * CVE-2022-2741: Under embargo until 2022-10-14 56 This definition can be used by third-party code to compile code conditional 58 Therefore, any third-party code integrated using the Zephyr build system will 91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates 129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig 155 * ``label`` property from devicetree as a base property. The property is still 156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and [all …]
|
D | release-notes-2.1.rst | 13 * Expanded support for ARMv6-M architecture. 50 hardware-based stack overflow detection) in ARMv6-M architecture 51 * Added QEMU support for ARMv6-M architecture 52 * Extended test coverage for ARM-specific kernel features in ARMv6-M 54 * Enhanced runtime MPU programming in ARMv8-M architecture, making 55 the full partitioning of kernel SRAM memory a user-configurable 57 * Added CMSIS support for Cortex-R architectures. 59 * Added missing Cortex-R CPU device tree bindings. 60 * Fixed incorrect Cortex-R device tree specification. 68 * RISC-V: [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_dtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # - to stop on the first failure with shorter traceback output, 24 # use '-x --tb=native' 25 # - to drop into a debugger on failure, use '--pdb' 26 # - to run a particular test function or functions, use 27 # '-k test_function_pattern_goes_here' 34 fd, path = tempfile.mkstemp(prefix='pytest-', suffix='.dts') 36 os.write(fd, dts.encode('utf-8')) 44 representation is expected[1:-1]. 52 expected = expected[1:-1] [all …]
|
/Zephyr-latest/doc/_scripts/ |
D | gen_devicetree_rest.py | 2 # SPDX-License-Identifier: Apache-2.0 26 GENERIC_OR_VENDOR_INDEPENDENT = 'Generic or vendor-independent' 31 # Base properties that have documentation in 'dt-important-props'. 32 DETAILS_IN_IMPORTANT_PROPS = set('compatible label reg status interrupts'.split()) 39 devicetree compatible's vendor prefix 'vnd'. 59 # Load the vendor-prefixes.txt file. Return a dict mapping 'vnd' 65 # vnd A stand-in for a real vendor 67 # Gets split into a key 'vnd' and a value 'A stand-in for a real 77 logger.info('found %d vendor prefixes in %s', len(vnd2vendor) - 1, 92 # - The 'None' key maps to bindings with no vendor prefix [all …]
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_pack.h | 4 * SPDX-License-Identifier: Apache-2.0 22 /* This is the label's length octet, see 4.1.2. Question section format */ 62 * - cname_offset 63 * - query_offset 64 * - answer_offset: 85 .response_type = -EINVAL} 100 DNS_RESPONSE_INVALID = -EINVAL, 131 * |------|--------------|-------|-------------| 190 * order to cpu. Similar routines without the unpack prefix are 331 * @retval -ENOMEM if there is no enough space to store the resultant QNAME [all …]
|
/Zephyr-latest/cmake/modules/ |
D | extensions.cmake | 1 # SPDX-License-Identifier: Apache-2.0 14 # 1. Zephyr-aware extensions 21 # 2. Kconfig-aware extensions 23 # 3. CMake-generic extensions 44 # 1. Zephyr-aware extensions 49 # "zephyr". zephyr is a catch-all CMake library for source files that 52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html 66 # As a very high-level introduction here are two call graphs that are 72 # zephyr_library_compile_options() --> target_compile_options() 75 # zephyr_cc_option() ---> target_cc_option() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/audio/ |
D | bluetooth-le-audio-arch.rst | 11 label="{{TMAP | HAP | PBP | GMAP | ...} | 13 {{{ GATT | GAP } | Low-level protocols (L2CAP, ATT, etc.)} | GAP | ISO} 62 label="HAP"; 70 label="PBP"; 76 label="TMAP"; 82 label="GMAP"; 88 label="Generic Audio Framework"; 92 label="Transition and Coordination Control"; 98 label="CAP"; 105 label="CSIP"; [all …]
|
/Zephyr-latest/scripts/west_commands/ |
D | sign.py | 3 # SPDX-License-Identifier: Apache-2.0 28 sys.path.insert(0, str(ZEPHYR_SCRIPTS / 'dts' / 'python-devicetree' / 'src')) 32 binaries for chain-loading by a bootloader. 36 west sign -t your_tool -- ARGS_FOR_YOUR_TOOL 40 which sort of ARGS_FOR_YOUR_TOOLS you use, the `--` separator/sentinel may 42 understand POSIX 12.2 Guideline 10, always use `--`. 44 See tool-specific help below for details.''' 48 ------- 53 west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem 56 or you must pass the path to imgtool.py using the -p option. [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | bindings-syntax.rst | 1 .. _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: 50 # SPI memory chip, use 'on-bus:' to say what type of bus, like this. 53 on-bus: spi [all …]
|
/Zephyr-latest/doc/contribute/documentation/ |
D | guidelines.rst | 24 .. _Sphinx extensions: http://www.sphinx-doc.org/en/stable/contents.html 26 .. _Sphinx Inline Markup: http://sphinx-doc.org/markup/inline.html#inline-markup 30 Sphinx-defined directives and roles used to create the documentation 42 the first non-white space in the preceding line. For example:: 50 .. code-block:: 66 * Third section heading level (h4) use ``-`` 84 For bullet lists, place an asterisk (``*``) or hyphen (``-``) at 113 #. This is a second-level list under the first item (also 143 Multi-column lists 148 a special ``.. rst-class:: rst-columns`` directive. The directive will [all …]
|
/Zephyr-latest/lib/os/ |
D | cbprintf_complete.c | 2 * Copyright (c) 1997-2010, 2012-2015 Wind River Systems, Inc. 5 * SPDX-License-Identifier: Apache-2.0 43 /* The float code may extract up to 16 digits, plus a prefix, a 113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0) 122 /* Case label to identify conversions for signed integral values. The 131 /* Case label to identify conversions for signed integral arguments. 142 /* Case label to identify conversions for floating point arguments. 156 /* Case label to identify conversions for pointer arguments. The 196 /** Left-justify value in width */ 202 /** Space for non-negative sign */ [all …]
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 4 * SPDX-License-Identifier: Apache-2.0 90 * returned commands: entry->syntax are sorted in alphabetical order. 92 * write to entry->syntax NULL value. This will indicate to the shell 122 * Devices that failed to initialize or do not have a non-empty name 127 * @param prefix optional name prefix used to restrict candidate 129 * start with this text. Pass null if no prefix match is required. 132 const char *prefix); 152 * have a non-empty name are excluded from the candidates for a match. 163 * @brief Get a @ref device reference from its @ref device.name field or label. 193 * @retval -EINVAL Argument validation failed. [all …]
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 2 * SPDX-License-Identifier: Apache-2.0 39 * ----------------- 42 * part in DT_N_<path-id>_P_<property-id> macros, or the "prop-suf" 71 * @defgroup devicetree-generic-id Node identifiers and helpers 96 * The arguments to this macro are the names of non-root nodes in the 98 * Non-alphanumeric characters in each name must be converted to 108 * current-speed = <115200>; 119 * Example usage with DT_PROP() to get the `current-speed` property: 125 * (The `current-speed` property is also in `lowercase-and-underscores` 130 * - the first argument corresponds to a child node of the root (`soc` above) [all …]
|
/Zephyr-latest/doc/hardware/porting/ |
D | board_porting.rst | 21 - Support for multi-core, multi-arch AMP (Asymmetrical Multi Processing) SoCs 22 - Support for multi-SoC boards 23 - Support for reusing the SoC and board Kconfig trees outside of the Zephyr 25 - Support for advanced use cases with :ref:`sysbuild` 26 - Removal of all existing arbitrary and inconsistent uses of Kconfig and folder 38 Some non-critical features, enhancements and improvements of the new hardware 47 with two options if they have an out-of-tree board (or SoC): 49 #. Convert the out-of-tree board to the current hardware model (recommended) 57 can then use the `example-application conversion Pull Request`_ as an example on 59 and works reliably in many cases (though multi-core SoCs may not be handled [all …]
|
/Zephyr-latest/tests/net/6lo/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 116 .prefix = ctx1_prefix 128 .prefix = ctx2_prefix 215 #define IPV6_DISPATCH_DIFF -1 256 struct net_6lo_context *net_6lo_context = dev->data; in net_6lo_dev_init() 296 res = memcmp((uint8_t *)ipv6_hdr, (uint8_t *)&data->ipv6, in compare_ipv6_hdr() 319 res = memcmp((uint8_t *)udp_hdr, (uint8_t *)&data->nh.udp, in compare_udp_hdr() 342 res = memcmp((uint8_t *)icmp_hdr, (uint8_t *)&data->nh.icmp, in compare_icmp_hdr() 365 res = memcmp(test_data->data, data, sizeof(struct user_data_small)); in compare_data_small() [all …]
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 2 # 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/include/zephyr/net/ |
D | net_stats.h | 11 * SPDX-License-Identifier: Apache-2.0 656 * @brief All Wi-Fi management statistics 667 * @brief All Wi-Fi specific statistics 865 /** Request Wi-Fi statistics */ 873 /** Reset Wi-Fi statistics*/ 887 /* The label value is set to be the network interface name. Note that we skip 888 * the first character (_) when setting the label value. This can be changed 889 * if there is a way to token paste the instance name without the prefix character. 929 &(iface)->stats.ipv6.sent); \ 936 &(iface)->stats.ipv6.recv); \ [all …]
|