/Zephyr-latest/scripts/ |
D | zephyr_module.py | 5 # SPDX-License-Identifier: Apache-2.0 11 Include file is generated for Kconfig using --kconfig-out. 12 A <name>:<path> text file is generated for use with CMake using --cmake-out. 14 Using --twister-out <filename> an argument file for twister script will 54 kconfig: 57 cmake-ext: 61 kconfig-ext: 65 sysbuild-cmake: 68 sysbuild-kconfig: 71 sysbuild-cmake-ext: [all …]
|
/Zephyr-latest/modules/mbedtls/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 12 This symbol may be used internally in a Kconfig tree to hide the 14 dependent sub-configurations and thus prevent stuck symbol behavior. 16 rsource "Kconfig.psa.auto" 17 rsource "Kconfig.psa.logic" 31 bool "Use Zephyr in-tree mbedTLS version" 40 Use external, out-of-tree prebuilt mbedTLS library. For advanced 55 default "config-tls-generic.h" 58 file can be tweaked with Kconfig. The default configuration is 61 special TLS usage, use available Kconfig options, or select an [all …]
|
/Zephyr-latest/include/zephyr/llext/ |
D | llext.h | 5 * SPDX-License-Identifier: Apache-2.0 47 LLEXT_MEM_RODATA, /**< Read-only data */ 131 static inline const elf_shdr_t *llext_section_headers(const struct llext *ext) in llext_section_headers() argument 133 return ext->sect_hdrs; in llext_section_headers() 136 static inline unsigned int llext_section_count(const struct llext *ext) in llext_section_count() argument 138 return ext->sect_cnt; in llext_section_count() 153 * those pre-defined addresses, so the LLEXT core doesn't have to do any 180 * callback function returns a non-0 value. 187 int llext_iterate(int (*fn)(struct llext *ext, void *arg), void *arg); 196 * @param[out] ext Pointer to the newly allocated @ref llext structure [all …]
|
/Zephyr-latest/doc/ |
D | conf.py | 2 # Reference: https://www.sphinx-doc.org/en/master/usage/configuration.html 25 # Add the directory which contains the pytest-twister-pytest 26 sys.path.insert(0, str(ZEPHYR_BASE / "scripts" / "pylib" / "pytest-twister-harness" / "src")) 35 # -- Project -------------------------------------------------------------- 38 copyright = "2015-2024 Zephyr Project members and individual contributors" 62 version += "-" + extra 70 # -- General configuration ------------------------------------------------ 74 "sphinx.ext.todo", 75 "sphinx.ext.extlinks", 76 "sphinx.ext.autodoc", [all …]
|
/Zephyr-latest/doc/services/tfm/ |
D | build.rst | 3 TF-M Build System 6 When building a valid ``_ns`` board target, TF-M will be built in the 7 background, and linked with the Zephyr non-secure application. No knowledge 8 of TF-M's build system is required in most cases, and the following will 9 build a TF-M and Zephyr image pair, and run it in qemu with no additional 12 .. code-block:: bash 14 … $ west build -p auto -b mps2/an521/cpu0/ns samples/tfm_integration/psa_protected_storage/ -t run 18 deal with signing the secure and non-secure images before deploying them. 20 Images Created by the TF-M Build 23 The TF-M build system creates the following executable files: [all …]
|
D | integration.rst | 1 Trusted Firmware-M Integration 4 The Trusted Firmware-M (TF-M) section contains information about the 5 integration between TF-M and Zephyr RTOS. Use this information to help 6 understand how to integrate TF-M with Zephyr for Cortex-M platforms and make 7 use of its secure run-time services in Zephyr applications. 12 TF-M will be built for the secure processing environment along with Zephyr if 13 the :kconfig:option:`CONFIG_BUILD_WITH_TFM` flag is set to ``y``. 16 and all config flags required for TF-M should be set in a board variant with 21 processing environment. :kconfig:option:`CONFIG_TFM_BOARD` must also be set via 22 `modules/trusted-firmware-m/Kconfig.tfm <https://github.com/zephyrproject-rtos/zephyr/blob/main/mod… [all …]
|
D | overview.rst | 1 Trusted Firmware-M Overview 4 `Trusted Firmware-M (TF-M) <https://tf-m-user-guide.trustedfirmware.org/>`__ 6 `IoT Security Framework <https://www.psacertified.org/what-is-psa-certified/>`__. 10 Zephyr RTOS has been PSA Certified since Zephyr 2.0.0 with TF-M 1.0, and 11 is currently integrated with TF-M 2.1.0. 13 What Does TF-M Offer? 16 Through a set of secure services and by design, TF-M provides: 18 * Isolation of secure and non-secure resources 19 * Embedded-appropriate crypto 22 * Protected off-chip data storage and retrieval [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/kconfig/ |
D | __init__.py | 2 Kconfig Extension 6 SPDX-License-Identifier: Apache-2.0 11 This extension adds a new domain (``kconfig``) for the Kconfig language. Unlike 12 many other domains, the Kconfig options are not rendered by Sphinx directly but 14 ``.. kconfig:search::`` can be inserted on any page to render a search box that 15 allows to browse the database. References to Kconfig options can be created by 16 using the ``:kconfig:option:`` role. Kconfig options behave as regular domain 22 - kconfig_generate_db: Set to True if you want to generate the Kconfig database. 23 This is only required if you want to use the ``.. kconfig:search::`` 24 directive, not if you just need support for Kconfig domain (e.g. when using [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.13.rst | 16 * Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP) 23 * Basic support for Arm TrustZone in Armv8-M 42 * arch: arm: implement ARMv8-M MPU driver 44 * arch: arm: macro API for defining non-secure entry functions 48 * arch: ARM: Change the march used by cortex-m0 and cortex-m0plus 50 * arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33 51 * arch: arm: built-in stack protection using Armv8-M SPLIM registers 52 * arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware 63 * riscv32: riscv-privilege: Microsemi Mi-V support 99 * modem: Added Wistron WNC-M14A2A LTE-M Modem driver [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-1.12.rst | 12 - Asymmetric multiprocessing (AMP) via integration of OpenAMP 13 - Persistent storage support for Bluetooth Low Energy including Mesh 14 - 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network 15 - Support multiple concurrent filesystem devices, partitions, and FS types 16 - Ethernet network management interface 17 - Networking traffic prioritization on a per-connection basis 18 - Support for Ethernet statistical counters 19 - Support for TAP net device on the native POSIX port 20 - Command-line Zephyr meta-tool "west" 21 - SPI slave support [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 …]
|
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-3.1.rst | 19 :kconfig:option:`CONFIG_LEGACY_INCLUDE_PATH` is provided to allow using the 28 * Bluetooth: Applications where :kconfig:option:`CONFIG_BT_EATT` is enabled 36 * Kconfig preprocessor function ``dt_nodelabel_has_compat`` was redefined, for 61 * Split CAN classic and CAN-FD APIs: 77 * STM32H7: :kconfig:option:`CONFIG_NOCACHE_MEMORY` is no longer responsible for disabling 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 92 As a consequence, the following Kconfig symbols were removed: 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, [all …]
|
D | release-notes-1.9.rst | 49 * Bluetooth Qualification-ready BLE Controller 82 * ARC: Nested interrupt support for normal, non-FIRQ interrupts 90 * arm: Added Olimex STM32-E407 and STM32-P405 boards 91 * arm: Added STM32F412 Nucleo and STM32F429I-DISC1 boards 116 * net-app API support added. This is higher level API that can be used 126 networking applications using a well-known, cross-platform API 140 * IPSP net-app support: a simplified networking API reducing duplication 143 * BLE controller qualification-ready, with all required tests passing 144 * Controller-based privacy (including all optional features) 149 * Bluetooth Kconfig options have been renamed have the same (consistent) [all …]
|
D | release-notes-2.4.rst | 24 Zephyr types can be enabled by Kconfig DEPRECATED_ZEPHYR_INT_TYPES option. 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>`_. [all …]
|
/Zephyr-latest/cmake/modules/ |
D | zephyr_module.cmake | 1 # SPDX-License-Identifier: Apache-2.0 8 # This cmake file provides functionality to import CMakeLists.txt and Kconfig 11 # CMakeLists.txt and Kconfig files can reside directly in the Zephyr module or 17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>] 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 32 set_ifndef(KCONFIG_BINARY_DIR ${CMAKE_BINARY_DIR}/Kconfig) 36 set(ZEPHYR_MODULES_ARG "--modules" ${ZEPHYR_MODULES}) 41 set(EXTRA_ZEPHYR_MODULES_ARG "--extra-modules" ${EXTRA_ZEPHYR_MODULES}) 45 set(kconfig_modules_file ${KCONFIG_BINARY_DIR}/Kconfig.modules) [all …]
|
/Zephyr-latest/doc/develop/ |
D | modules.rst | 7 order to avoid reinventing the wheel and to reuse as much well-established, 14 modules, an external project is required to have its own life-cycle outside 29 - Debugger integration 30 - Silicon vendor Hardware Abstraction Layers (HALs) 31 - Cryptography libraries 32 - File Systems 33 - Inter-Process Communication (IPC) libraries 36 references to optional :ref:`binary blobs <bin-blobs>`. 41 .. _modules-vs-projects: 47 <west-workspace>`. In fact, modules :ref:`do not require west [all …]
|
/Zephyr-latest/doc/hardware/peripherals/can/ |
D | shell.rst | 21 In order to enable the CAN shell, the following :ref:`Kconfig <kconfig>` options must be enabled: 23 * :kconfig:option:`CONFIG_SHELL` 24 * :kconfig:option:`CONFIG_CAN` 25 * :kconfig:option:`CONFIG_CAN_SHELL` 27 The following :ref:`Kconfig <kconfig>` options enable additional subcommands and features of the 30 * :kconfig:option:`CONFIG_CAN_FD_MODE` enables CAN FD specific subcommands (e.g. for setting the 32 * :kconfig:option:`CONFIG_CAN_RX_TIMESTAMP` enables printing of timestamps for received CAN frames. 33 * :kconfig:option:`CONFIG_CAN_STATS` enables printing of various statistics for the CAN controller 34 in the ``can show`` subcommand. This depends on :kconfig:option:`CONFIG_STATS` being enabled as 36 * :kconfig:option:`CONFIG_CAN_MANUAL_RECOVERY_MODE` enables the ``can recover`` subcommand. [all …]
|
/Zephyr-latest/boards/wiznet/w5500_evb_pico/doc/ |
D | index.rst | 9 W5500-EVB-Pico is a microcontroller evaluation board based on the Raspberry 10 Pi RP2040 and fully hardwired TCP/IP controller W5500 - and basically works 13 drag-and-drop manner. It is also possible to flash and debug the boards with 18 - Dual core Arm Cortex-M0+ processor running up to 133MHz 19 - 264KB on-chip SRAM 20 - 16MB on-board QSPI flash with XIP capabilities 21 - 26 GPIO pins 22 - 3 Analog inputs 23 - 2 UART peripherals 24 - 2 SPI controllers [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 14 The shell allows the creation of multiple identities, to a maximum that is set by the Kconfig symbol 15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You 16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the 17 available identities with :code:`id-show`. 28 .. code-block:: console 32 …[DEVICE]: CB:01:1A:2D:6E:AE (random), AD evt type 0, RSSI -78 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, S… 33 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -62 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 34 …[DEVICE]: E3:72:76:87:2F:E8 (random), AD evt type 3, RSSI -74 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 35 …[DEVICE]: 1E:19:25:8A:CB:84 (random), AD evt type 3, RSSI -67 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 36 …[DEVICE]: 26:42:F3:D5:A0:86 (random), AD evt type 3, RSSI -73 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… [all …]
|
/Zephyr-latest/boards/raspberrypi/rpi_pico/doc/ |
D | index.rst | 6 The Raspberry Pi Pico and Pico W are small, low-cost, versatile boards from 7 Raspberry Pi. They are equipped with an RP2040 SoC, an on-board LED, 9 Infineon CYW43439 2.4 GHz Wi-Fi/Bluetooth module. The USB bootloader allows the 10 ability to flash without any adapter, in a drag-and-drop manner. 16 - Dual core Arm Cortex-M0+ processor running up to 133MHz 17 - 264KB on-chip SRAM 18 - 2MB on-board QSPI flash with XIP capabilities 19 - 26 GPIO pins 20 - 3 Analog inputs 21 - 2 UART peripherals [all …]
|
/Zephyr-latest/modules/trusted-firmware-m/ |
D | CMakeLists.txt | 1 # Copyright (c) 2019 - 2023 Linaro 2 # Copyright (c) 2020 - 2023 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 6 # List of all partitions supported by TF-M 7 # Name must match name in 'trusted-firmware-m/tools/tfm_manifest_list.yaml' 19 # PSA API awareness for the Non-Secure application 22 list(APPEND TFM_CMAKE_ARGS -DCONFIG_TFM_SPM_BACKEND="SFN") 24 list(APPEND TFM_CMAKE_ARGS -DCONFIG_TFM_SPM_BACKEND="IPC") 27 list(APPEND TFM_CMAKE_ARGS -DTEST_S=ON) 28 list(APPEND TFM_CMAKE_ARGS -DTFM_S_REG_TEST:BOOL=ON) [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | monitor.c | 8 * SPDX-License-Identifier: Apache-2.0 19 #include <zephyr/sys/printk-hooks.h> 20 #include <zephyr/sys/libc-hooks.h> 33 * except that we're not exporting it as a Kconfig variable until a 124 if (rtt_buf_offset < sizeof(hdr->data_len) + hdr->data_len) { in monitor_send() 140 drop_add(hdr->opcode); in monitor_send() 172 while (len--) { in monitor_send() 185 hdr->ext[hdr->hdr_len++] = type; in encode_drops() 186 hdr->ext[hdr->hdr_len++] = MIN(count, 255); in encode_drops() 208 hdr->opcode = sys_cpu_to_le16(opcode); in encode_hdr() [all …]
|
/Zephyr-latest/scripts/ci/ |
D | check_compliance.py | 5 # SPDX-License-Identifier: Apache-2.0 57 f"{cp.stdout.decode('utf-8')}\n" 59 f"{cp.stderr.decode('utf-8')}\n") 61 return cp.stdout.decode("utf-8").rstrip() 70 return git('rev-list', 71 f'--max-count={-1 if "." in refspec else 1}', refspec).split() 74 filter_arg = (f'--diff-filter={filter}',) if filter else () 75 paths_arg = ('--', *paths) if paths else () 76 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg) 128 - The magic string "<zephyr-base>" can be used to refer to the [all …]
|