/Zephyr-latest/dts/bindings/adc/ |
D | adi,ad559x-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "adi,ad559x-adc" 8 include: adc-controller.yaml 11 "#io-channel-cells": 14 double-input-range: 17 Default ADC input range is 0V to Vref. 18 This option increases the range from 0V to 2 x Vref. Note that this 21 io-channel-cells: 22 - input
|
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/ |
D | main.c | 2 * SPDX-FileCopyrightText: Copyright (c) 2023 Carl Zeiss Meditec AG 3 * SPDX-License-Identifier: Apache-2.0 17 zassert_ok(sensor_sample_fetch_chan(fixture->dev, SENSOR_CHAN_VOLTAGE)); \ 18 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_VOLTAGE, sensor_val)); \ 21 (pin_voltage - 0.01f) * ((r1 + r2) / (float)r2), \ 23 "%f Out of Range [%f,%f] input %f, [%dmΩ, %dmΩ] " \ 25 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000), \ 26 (double)((pin_voltage - 0.01f) * ((r1 + r2) / (float)r2)), \ 27 (double)((pin_voltage + 0.01f) * ((r1 + r2) / (float)r2)), (double)pin_voltage, \ 31 zassert_ok(sensor_sample_fetch_chan(fixture->dev, SENSOR_CHAN_CURRENT)); \ [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/hello_world/src/ |
D | main_functions.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 /* Globals, used for compatibility with Arduino-style sketches. */ 32 TfLiteTensor *input = nullptr; variable 47 if (model->version() != TFLITE_SCHEMA_VERSION) { in setup() 50 model->version(), TFLITE_SCHEMA_VERSION); in setup() 55 * NOLINTNEXTLINE(runtime-global-variables) in setup() 66 TfLiteStatus allocate_status = interpreter->AllocateTensors(); in setup() 72 /* Obtain pointers to the model's input and output tensors. */ in setup() 73 input = interpreter->input(0); in setup() 74 output = interpreter->output(0); in setup() [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lis2dw12-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>; 16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>; 17 power-mode = <LIS2DW12_DT_HP_MODE>; 18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>; 21 include: sensor-device.yaml 24 irq-gpios: 25 type: phandle-array [all …]
|
/Zephyr-latest/lib/os/ |
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 …]
|
D | cbprintf_complete.c | 2 * Copyright (c) 1997-2010, 2012-2015 Wind River Systems, Inc. 5 * SPDX-License-Identifier: Apache-2.0 65 LENGTH_UPPER_L, /* long double */ 113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0) 174 double dbl; 177 long double ldbl; 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. 254 /** Set for floating point values that have a non-zero [all …]
|
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/ |
D | test_logging_dictionary.py | 4 # SPDX-License-Identifier: Apache-2.0 41 # as the log parser requires file as input. 43 # timeout earlier with per-test timeout. 44 handler_output = dut.readlines_until(regex = '.*##ZLOGV1##[0-9]+', timeout = 600.0) 54 with open(encoded_log_file, 'w', encoding='utf-8') as fp: 58 cmd = [parser_script, '--hex', dictionary_json, encoded_log_file] 77 re.compile(r'.*[*][*][*] Booting Zephyr OS build [0-9a-z.-]+'), 79 re.compile(r'[\s]+Hello World! [\w-]+'), 81 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <err> hello_world: error string'), 83 re.compile(r'[\s]+[\[][0-9,:\. ]+[\]] <dbg> hello_world: main: debug string'), [all …]
|
/Zephyr-latest/arch/x86/ |
D | gen_mmu.py | 5 # SPDX-License-Identifier: Apache-2.0 14 image. The script takes the 'zephyr_prebuilt.elf' as input to obtain region 23 - By default, the Present, Write, and Execute Disable bits are 25 - The __text_region region will have Present and User bits set 26 - The __rodata_region region will have Present, User, and Execute 28 - On x86_64, the _locore region will have Present set and 34 - The double-mapping is used to transition the 38 - The mapping is always double-mapped at the top-level paging structure 40 with respect to the scope of top-level paging structure entries. 41 This allows the same second-level paging structure(s) to be used for [all …]
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_uac2.c | 2 * Copyright (c) 2023-2024 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 26 + AS_IS_USB_ISO_IN(node) /* ISO IN double buffering */ + \ 37 * requires 6 bytes) and feedback endpoint (4 bytes on High-Speed, 3 bytes on 38 * Full-Speed). Because the total number of endpoints is really small (typically 40 * the USB specification itself is 30 non-control endpoints). Therefore, the 51 /* A.14 Audio Class-Specific Request Codes */ 53 #define RANGE 0x02 macro 60 #define CONTROL_ATTRIBUTE(setup) (setup->bRequest) 61 #define CONTROL_ENTITY_ID(setup) ((setup->wIndex & 0xFF00) >> 8) [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_senml_cbor.c | 4 * SPDX-License-Identifier: Apache-2.0 40 struct lwm2m_senml input; member 73 static int path_to_string(char *buf, size_t buf_size, const struct lwm2m_obj_path *input, 81 #define GET_CBOR_FD_NAME(fd) ((fd)->names[(fd)->name_cnt]) 84 &((fd)->input.lwm2m_senml_record_m[(fd)->input.lwm2m_senml_record_m_count]) 86 #define GET_IN_FD_REC_I(fd, i) &((fd)->dcd.lwm2m_senml_record_m[i]) 89 &((fd)->input.lwm2m_senml_record_m[(fd)->input.lwm2m_senml_record_m_count++]) 100 engine_set_out_user_data(&msg->out, fd); in setup_out_fmt_data() 101 fd->name_sz = SENML_MAX_NAME_SIZE; in setup_out_fmt_data() 102 fd->basetime = 0; in setup_out_fmt_data() [all …]
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.5.rst | 21 taking a ``void *mem`` pointer instead of a ``void **mem`` double-pointer. 37 * The default C library used on most targets has changed from the built-in 47 increase by 8-16 bytes. 68 * Picolibc removes the ``-ffreestanding`` compiler option. This allows 71 the Zephyr required type -- ``int main(void)``. 74 'double', 'long long', 'integer', and 'minimal. 'double' offers a 83 * Picolibc's default floating point input/output code is larger than the 100 * ``psa-arch-tests`` 102 * ``tf-m-tests`` 103 * ``tflite-micro`` [all …]
|
D | release-notes-3.4.rst | 12 * Input subsystem: handles input events from various types of input devices and 20 * Added Power Delivery Source Support to the USB-C Stack. 22 * Cache API functions are now fully in-lined by compilers. 23 * Added an API for real-time clocks (RTC). 29 - Introduction of 3 new test harnesses into twister supporting pyTest, 31 - Transitioning to new Ztest API was completed and legacy Ztest was deprecated. 46 * CVE-2023-1901: Under embargo until 2023-07-04 48 * CVE-2023-1902: Under embargo until 2023-07-04 67 +--------------------------------------------------+ 69 +--------------------------------------------------+ [all …]
|
D | release-notes-3.6.rst | 12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications. 13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`. 16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2. 23 * Over 30 new supported boards, spanning all Zephyr-supported architectures. 37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47 38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_ 40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc 41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_ 43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw 44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_ [all …]
|
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 [all …]
|
D | release-notes-3.7.rst | 10 This release is the last non-maintenance 3.x release and, as such, will be the next 18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API, 21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017 25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio 29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and 35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr. 39 1588) allows to synchronize time across devices with sub-microsecond accuracy. 52 * 1-Wire 71 :ref:`pinctrl-guide` for more details. 88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8 [all …]
|
D | release-notes-3.0.rst | 22 * 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>`_. 49 * Replaced custom LwM2M :c:struct:`float32_value` type with a native double type. 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 [all …]
|
D | release-notes-1.14.rst | 17 * CVE-2020-10066 18 * CVE-2020-10069 19 * CVE-2020-13601 20 * CVE-2020-13602 32 * :github:`issuenumber` - issue title 34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre 35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply 36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller 37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board. 38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral … [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 …]
|
/Zephyr-latest/scripts/dts/ |
D | gen_defines.py | 3 # Copyright (c) 2019 - 2020 Nordic Semiconductor ASA 6 # SPDX-License-Identifier: BSD-3-Clause 11 # Note: Do not access private (_-prefixed) identifiers from edtlib here (and 25 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree', 46 with open(args.header_out, "w", encoding="utf-8") as header_file: 58 # Check to see if we have duplicate "zephyr,memory-region" property values. 61 if 'zephyr,memory-region' in node.props: 62 region = node.props['zephyr,memory-region'].val 64 sys.exit(f"ERROR: Duplicate 'zephyr,memory-region' ({region}) properties " 74 out_comment("Node's name with unit-address:") [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | guiconfig.py | 4 # SPDX-License-Identifier: ISC 10 # pylint: disable=undefined-variable 16 A Tkinter-based menuconfig implementation, based around a treeview control and 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 33 Ctrl-M : Toggle single-menu mode [all …]
|
/Zephyr-latest/doc/kernel/services/timing/ |
D | clocks.rst | 41 timeouts) are expected to be in the range of 10 kHz, with software 46 ---------- 57 millisecond input value to the next higher number of ticks, returning 66 word, these conversions expand to a 2-4 operation sequence, requiring 127 being 32 bits. Large uptime counts in non-tick units will experience 129 timing-sensitive applications with long uptimes will be configured to 142 ------------- 146 a double-linked list, with an attendant delta count in ticks from the 150 expected to be embedded within subsystem-defined data structures (for 155 multiple-conversion steps internal to the kernel, so precision is [all …]
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_shell.c | 5 * SPDX-License-Identifier: Apache-2.0 45 #include <wifi_enterprise_test_certs/client-key.pem.inc> 58 #include <wifi_enterprise_test_certs/client-key2.pem.inc> 67 #include <wifi_enterprise_test_certs/server-key.pem.inc> 143 return -1; in cmd_wifi_set_enterprise_creds() 171 PR_WARNING("%s value out of range: %s, (%ld-%ld)\n", in parse_number() 174 PR_WARNING("Value out of range: %s, (%ld-%ld)\n", in parse_number() 186 (const struct wifi_scan_result *)cb->info; in handle_wifi_scan_result() 194 PR("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result() 198 strncpy(ssid_print, entry->ssid, sizeof(ssid_print) - 1); in handle_wifi_scan_result() [all …]
|
/Zephyr-latest/doc/ |
D | zephyr.doxyfile.in | 6 # All text after a double hash (##) is considered a comment and is placed in 20 # doxygen -x [configFile] 24 # doxygen -x_noenv [configFile] 26 #--------------------------------------------------------------------------- 28 #--------------------------------------------------------------------------- 31 # file that follow. The default is UTF-8 which is also the encoding used for all 35 # The default value is: UTF-8. 37 DOXYFILE_ENCODING = UTF-8 40 # double-quotes, unless you are using Doxywizard) that should identify the 80 # sub-directories (in 2 levels) under the output directory of each output format [all …]
|
/Zephyr-latest/doc/kernel/usermode/ |
D | syscalls.rst | 19 for supervisor-mode access only. 54 .. code-block:: c 60 simply expands to 'static inline'. However to the post-build 88 .. code-block:: c 203 Exception to above is passing 64-bit parameters on 32-bit systems, in which case 204 64-bit parameters are split into lower and higher part and passed as two consecutive 224 a return type of API prototype declaration. This means that 64-bit value may 225 not be directly returned, from a system call to its wrapper, on 32-bit systems. 226 To solve the problem the automatically generated wrapper function defines 64-bit 231 The problem does not exist on 64-bit systems which are able to return 64-bit [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | dtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 10 The top-level entry point of the library is the DT class. DT.__init__() takes a 30 "Exception raised for devicetree-related errors" 34 Represents a node in the devicetree ('node-name { ... };'). 62 stored in big-endian format. 113 def name(self) -> str: 117 # Converted to a property to discourage renaming -- that has to be done 122 def unit_addr(self) -> str: 129 def path(self) -> str: 144 def node_iter(self) -> Iterable['Node']: [all …]
|