/Zephyr-latest/doc/build/dts/ |
D | phandles.rst | 1 .. _dt-phandles: 19 .. code-block:: DTS 22 lbl_a: node-1 {}; 23 lbl_b: lbl_c: node-2 {}; 28 - ``/node-1`` as ``&lbl_a`` 29 - ``/node-2`` as either ``&lbl_b`` or ``&lbl_c`` 40 :ref:`dt-bindings-properties` in the devicetree bindings documentation. 47 You can use phandles to refer to ``node-b`` from ``node-a``, where ``node-b`` 48 is related to ``node-a`` in some way. 50 One common example is when ``node-a`` represents some hardware that [all …]
|
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 …]
|
D | intro-syntax-structure.rst | 1 .. _dt-syntax: 6 As the name indicates, a devicetree is a tree. The human-readable text format 24 .. code-block:: devicetree 26 /dts-v1/; 29 a-node { 30 subnode_nodelabel: a-sub-node { 36 The ``/dts-v1/;`` line means the file's contents are in version 1 of the DTS 37 syntax, which has replaced a now-obsolete "version 0". 46 #. A node named ``a-node``, which is a child of the root node 47 #. A node named ``a-sub-node``, which is a child of ``a-node`` [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-wrong-bindings/ |
D | wrong-specifier-space-type.yaml | 1 # SPDX-License-Identifier: BSD-3-Clause 8 wrong-type-for-specifier-space: 10 specifier-space: foobar
|
/Zephyr-latest/dts/bindings/i2s/ |
D | nxp,mcux-i2s.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: NXP mcux SAI-I2S controller 6 compatible: "nxp,mcux-i2s" 8 include: [i2s-controller.yaml, pinctrl-device.yaml] 17 dma-names: 20 nxp,tx-dma-channel: 25 nxp,rx-dma-channel: 30 nxp,tx-sync-mode: 34 nxp,rx-sync-mode: 38 pre-div: [all …]
|
/Zephyr-latest/dts/bindings/base/ |
D | base.yaml | 10 - "ok" # Deprecated form 11 - "okay" 12 - "disabled" 13 - "reserved" 14 - "fail" 15 - "fail-sss" 18 type: string-array 24 description: register space 26 reg-names: 27 type: string-array [all …]
|
/Zephyr-latest/dts/bindings/power/ |
D | ambiq-pwrcfg.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 type: phandle-array 10 specifier-space: pwrcfg
|
/Zephyr-latest/dts/bindings/test/ |
D | vnd,phandle-holder.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "vnd,phandle-holder" 13 phs-or: {type: "phandles"} 14 pha-gpios: {type: "phandle-array"} 15 gpios: {type: "phandle-array"} 16 foos: {type: "phandle-array"} 17 foo-names: {type: "string-array"} 18 pwms: {type: "phandle-array"} 19 pwm-names: {type: "string-array"} 21 type: "phandle-array" [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | litex,clk.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 include: [clock-controller.yaml, base.yaml] 14 clock-cells: 15 - id 20 description: Base address and lengths of the register space 22 "#clock-cells": 26 clock-output-names: 28 type: string-array 31 by the first cell in the clock specifier. 33 litex,lock-timeout: [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 113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0) 196 /** Left-justify value in width */ 202 /** Space for non-negative sign */ 226 * prec_value is set to the value of a non-negative argument. 234 /** Indicates an a or A conversion specifier. 240 /** Conversion specifier category (value from specifier_cat_enum) */ 254 /** Set for floating point values that have a non-zero 259 /** Conversion specifier character */ [all …]
|
D | Kconfig.cbprintf | 2 # SPDX-License-Identifier: Apache-2.0 15 # 80: -53% / 982 B (80 / 00) 17 bool "Space-optimized but feature-limited" 39 Selecting this may increase code size on 32-bit systems as 51 This will decrease stack space, but affects conversion of any type 56 With CBPRINTF_COMPLETE conversions that may result in value-specific 88 # 40: -15% / -508 B (46 / 06) 115 bool "Generate C-library compatible functions using cbprintf" 125 When used with picolibc, this option generates cbprintf-compatible 129 module-str = cbprintf_package [all …]
|
D | cbprintf_packaged.c | 4 * SPDX-License-Identifier: Apache-2.0 61 * Procedure Call Standard for the ARM 64-bit Architecture 161 u.__ap.__va_stk = (char *)buf - 32; in cbprintf_via_va_list() 171 * 32-bit ARM and Intel. 211 /* Move beyond read-only string indexes array. */ in get_package_len() 220 return (size_t)(uintptr_t)(buf - start); in get_package_len() 238 * package. MSB bit is set if string is read-only so effectively 7 bits are in cbvprintf_package() 245 #define BUF_OFFSET (buf - (uintptr_t)buf0) in cbvprintf_package() 256 int arg_idx = -1; /* Argument index. Preincremented thus starting from -1.*/ in cbvprintf_package() 274 return -EFAULT; in cbvprintf_package() [all …]
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/ |
D | os_mgmt.h | 2 * Copyright (c) 2018-2021 mcumgr authors 6 * SPDX-License-Identifier: Apache-2.0 56 * 32-bits, allowing 32 flags, custom user-level implementations should start at 95 /* Will be true if the all 'a' specifier was provided */ 98 * space must be added prior to the output response
|
/Zephyr-latest/samples/net/wpan_serial/src/ |
D | main.c | 2 * Copyright (c) 2016-2019 Intel Corporation 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief App implementing 802.15.4 "serial-radio" protocol 11 * Application implementing 802.15.4 "serial-radio" protocol compatible 12 * with popular Contiki-based native border routers. 28 #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) 124 buf = net_buf_frag_last(pkt_curr->buffer); in slip_process_byte() 126 LOG_ERR("No more buf space: buf %p len %u", buf, buf->len); in slip_process_byte() 241 struct net_buf *buf = net_buf_frag_last(pkt->buffer); in process_data() 263 ret = radio_api->tx(ieee802154_dev, IEEE802154_TX_MODE_DIRECT, in process_data() [all …]
|
/Zephyr-latest/scripts/release/ |
D | list_devicetree_bindings_changes.py | 4 # SPDX-License-Identifier: Apache-2.0 24 sys.path.insert(0, str(SCRIPTS / 'dts' / 'python-devicetree' / 'src')) 61 space: str 117 ) -> Changes: 148 ) -> Dict[str, Compat2Binding]: 160 ) -> Dict[str, Binding2Changes]: 170 def get_vnd(compatible: str) -> str: 180 ) -> Binding2Changes: 200 ) -> List[BindingChange]: 232 ) -> List[BindingChange]: [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 # -------------------- 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. 108 The free-form description of the binding, or None. [all …]
|
/Zephyr-latest/doc/services/ |
D | formatted_output.rst | 40 the very space-optimized but limited formatter used for :c:func:`printk` 51 Such state forms a self-contained package which contains format string and 62 * **Self-contained** - non read-only strings appended to the package. String can be 63 formatted from such package as long as there is access to read-only string 64 locations. Package may contain information where read-only strings are located 66 self-contained package. 67 * **Fully self-contained** - all strings are appended to the package. String can be 69 * **Transient**- only arguments are stored. Package contain information 70 where pointers to non read-only strings are located within the package. Optionally, 71 it may contain read-only string location information. String can be formatted [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has 46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"]) 48 enums_hpath = hpath('test-bindings/enums.yaml') 50 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-… 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/… 54 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… 55 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha… [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | sdp.c | 8 * SPDX-License-Identifier: Apache-2.0 166 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_connected() 168 k_fifo_init(&sdp->partial_resp_queue); in bt_sdp_connected() 187 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_disconnected() 220 uint16_t param_len = buf->len; in bt_sdp_send() 224 hdr->op_code = op; in bt_sdp_send() 225 hdr->tid = sys_cpu_to_be16(tid); in bt_sdp_send() 226 hdr->param_len = sys_cpu_to_be16(param_len); in bt_sdp_send() 274 uint8_t size_field_len = 0U; /* Space used to accommodate the size */ in parse_data_elem() 276 if (buf->len < 1) { in parse_data_elem() [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/doc/services/logging/ |
D | index.rst | 17 - Deferred logging reduces the time needed to log a message by shifting time 20 - Multiple backends supported (up to 9 backends). 21 - Custom frontend support. It can work together with backends. 22 - Compile time filtering on module level. 23 - Run time filtering independent for each backend. 24 - Additional run time filtering on module instance level. 25 - Timestamping with user provided function. Timestamp can have 32 or 64 bits. 26 - Dedicated API for dumping data. 27 - Dedicated API for handling transient strings. 28 - Panic support - in panic mode logging switches to blocking, synchronous [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.6.rst | 7 release introduces the unified Kernel replacing the separate nano- and 8 micro-kernels and simplifying the overall Zephyr architecture and programming 10 Support for the ARM Cortex-M0/M0+ family was added and board support for 11 Cortex-M was expanded. 22 * Added support for several ARM Cortex-M boards 34 * Added DLIST to operate in all elements of a doubly-linked list. 52 * ARM: Added support for ARM Cortex-M0/M0+. 55 * x86: Changed IRQ controller to return -1 if cannot determine source vector. 99 * Added raw HCI API to enable physical HCI transport for a Controller-only build. 101 * Added cross-transport pairing support for the Security Manager Protocol. [all …]
|
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|
D | release-notes-2.6.rst | 13 * Added support for 64-bit ARCv3 14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture 15 * Added initial support for Arm v8.1-m and Cortex-M55 22 https://github.com/zephyrproject-rtos/example-application 34 * CVE-2021-3581: Under embargo until 2021-09-04 41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented. 47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned. 48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change 194 * Added support for null pointer dereferencing detection in Cortex-M. [all …]
|