/Zephyr-latest/include/zephyr/llext/ |
D | llext.h | 5 * SPDX-License-Identifier: Apache-2.0 40 * LLEXT subsystem. The names match common ELF file section names; but note 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); [all …]
|
/Zephyr-latest/boards/arm/mps3/ |
D | mps3_corstone300_an547_ns.dts | 2 * Copyright (c) 2018-2021 Linaro Limited 3 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <arm/armv8.1-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 17 compatible = "arm,mps3-an547"; 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
D | mps3_corstone300_an552_ns.dts | 2 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <arm/armv8.1-m.dtsi> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "arm,mps3-an552"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &uart0; [all …]
|
D | mps3_corstone300_fvp_ns.dts | 2 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <arm/armv8.1-m.dtsi> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "arm,mps3-fvp"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &uart0; [all …]
|
D | mps3_corstone310_an555_ns.dts | 2 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <arm/armv8.1-m.dtsi> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "arm,mps3-an555"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &uart0; [all …]
|
D | mps3_corstone310_fvp_ns.dts | 2 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <arm/armv8.1-m.dtsi> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "arm,mps3-fvp"; 17 #address-cells = <1>; 18 #size-cells = <1>; 22 zephyr,shell-uart = &uart0; [all …]
|
/Zephyr-latest/dts/bindings/ethernet/ |
D | xlnx,gem.yaml | 3 # SPDX-License-Identifier: Apache-2.0 10 include: ethernet-controller.yaml 19 clock-frequency: 27 which it will be adjusted at run-time. Therefore, the value of this 29 respective GEM's TX clock - by default, this is the IO PLL. 31 mdc-divider: 42 init-mdio-phy: 45 Activates the management of a PHY associated with the controller in- 46 stance. If this parameter is activated at the board level, the de- 47 fault values of the associated parameters mdio-phy-address, phy-poll- [all …]
|
/Zephyr-latest/boards/arm/mps2/ |
D | mps2_an521_cpu0_ns.dts | 2 * Copyright (c) 2018-2019 Linaro Limited 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <arm/armv8-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 29 zephyr,shell-uart = &uart0; 35 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/subsys/llext/ |
D | llext_load.c | 5 * SPDX-License-Identifier: Apache-2.0 31 * - The input `struct llext` and fields in `struct loader` are zero-filled 34 * - If some function called by do_llext_load allocates memory, it does so by 35 * immediately writing the pointer in the `ext` and `ldr` structures. 36 * - do_llext_load() will clean up the memory allocated by the functions it 42 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx) in llext_loaded_sect_ptr() argument 44 enum llext_mem mem_idx = ldr->sect_map[sh_ndx].mem_idx; in llext_loaded_sect_ptr() 50 return (const uint8_t *)ext->mem[mem_idx] + ldr->sect_map[sh_ndx].offset; in llext_loaded_sect_ptr() 57 static int llext_load_elf_data(struct llext_loader *ldr, struct llext *ext) in llext_load_elf_data() argument 69 ret = llext_read(ldr, &ldr->hdr, sizeof(ldr->hdr)); in llext_load_elf_data() [all …]
|
/Zephyr-latest/scripts/build/ |
D | uf2conv.py | 3 # SPDX-License-Identifier: MIT 5 # pylint: skip-file 33 w = buf[0:30].decode("utf-8") 36 if w[0] == ':' and re.match(rb"^[:0-9a-fA-F\r\n]+$", buf): 58 # NO-flash flag set; skip block 71 padding = newaddr - curraddr 77 assert False, "Non-word padding size at " + ptr 79 padding -= 4 94 if blockno == (numblocks - 1): 95 print("--- UF2 File Header Info ---") [all …]
|
/Zephyr-latest/subsys/sd/ |
D | mmc.c | 4 * SPDX-License-Identifier: Apache-2.0 21 * [23:16] : Index (byte address in EXT_CSD) 45 #define MMC_REL_ADR_ARG (card->relative_addr << 16U) 110 if (card->host_props.is_spi) { in mmc_card_init() 111 return -EINVAL; in mmc_card_init() 122 card->type = CARD_MMC; in mmc_card_init() 125 if (card->host_props.host_caps.vol_180_support) { in mmc_card_init() 128 if (card->host_props.host_caps.vol_330_support || in mmc_card_init() 129 card->host_props.host_caps.vol_300_support) { in mmc_card_init() 219 ret = sdhc_request(card->sdhc, &cmd, NULL); in mmc_send_op_cond() [all …]
|
/Zephyr-latest/doc/services/tfm/ |
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 16 and all config flags required for TF-M should be set in a board variant with 22 `modules/trusted-firmware-m/Kconfig.tfm <https://github.com/zephyrproject-rtos/zephyr/blob/main/mod… 23 to the board name that TF-M expects for this target, so that it knows which 29 The ``mps2/an521/cpu0`` board target is a dual-core Arm Cortex-M33 evaluation board that generates [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 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… 37 …[DEVICE]: 0C:61:D1:B9:5D:9E (random), AD evt type 3, RSSI -87 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… [all …]
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * All references to the spec refer to IEEE 802.15.4-2020. 79 if (!mpdu->mhr.fs->fc.ar) { in ieee802154_acknowledge() 89 if (ieee802154_create_ack_frame(iface, pkt, mpdu->mhr.fs->sequence)) { in ieee802154_acknowledge() 91 ieee802154_radio_tx(iface, IEEE802154_TX_MODE_DIRECT, pkt, pkt->buffer); in ieee802154_acknowledge() 109 struct ieee802154_fcf_seq *fs = (struct ieee802154_fcf_seq *)frag->data; in ieee802154_prepare_for_ack() 112 ctx->ack_seq = fs->sequence; in ieee802154_prepare_for_ack() 113 if (k_sem_count_get(&ctx->ack_lock) == 1U) { in ieee802154_prepare_for_ack() 114 k_sem_take(&ctx->ack_lock, K_NO_WAIT); in ieee802154_prepare_for_ack() 128 __ASSERT_NO_MSG(ctx->ack_seq == 0U); in ieee802154_handle_ack() [all …]
|
D | ieee802154_frame.h | 4 * SPDX-License-Identifier: Apache-2.0 13 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 15 * @note All structs and attributes (e.g. PAN id, ext address and short address) 28 #define IEEE802154_ACK_PKT_LENGTH 3 /* Imm-Ack length, see section 7.3.3 */ 57 /** see section 7.2.2.9, table 7-3 */ 129 /** see section 9.4.2.2, table 9-6 */ 144 /** This will match above *_MIC_<32/64/128> */ 149 /** see section 9.4.2.3, table 9-7 */ 221 /** see section 7.3.1.5, figure 7-10 */ 232 /** see section 7.3.1.5, figure 7-11 */ [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 89 * eth: mcux: Added an option for randomized, but stable MAC address [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.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 …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_core.c | 5 * SPDX-License-Identifier: Apache-2.0 33 #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) 35 #define THREAD_PRIORITY K_PRIO_PREEMPT(CONFIG_NUM_PREEMPT_PRIORITIES - 1) 38 #define INVALID_SOCK -1 93 memset(ctx->fds, 0, sizeof(ctx->fds)); in http_server_init() 94 memset(ctx->clients, 0, sizeof(ctx->clients)); in http_server_init() 96 for (i = 0; i < ARRAY_SIZE(ctx->fds); i++) { in http_server_init() 97 ctx->fds[i].fd = INVALID_SOCK; in http_server_init() 103 fd = -errno; in http_server_init() 108 ctx->fds[count].fd = fd; in http_server_init() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gap.c | 1 /* gap.c - Bluetooth GAP Tester */ 4 * Copyright (c) 2015-2016 Intel Corporation 6 * SPDX-License-Identifier: Apache-2.0 120 bt_addr_le_copy(&ev.address, info.le.dst); in le_connected() 145 bt_addr_le_copy(&ev.address, addr); in le_disconnected() 155 bt_addr_le_copy(&ev.address, rpa); in le_identity_resolved() 167 bt_addr_le_copy(&ev.address, addr); in le_param_updated() 177 /* reject update if all parameters match reject pattern */ in le_param_req() 178 if ((param->interval_min == REJECT_INTERVAL_MIN) && in le_param_req() 179 (param->interval_max == REJECT_INTERVAL_MAX) && in le_param_req() [all …]
|
/Zephyr-latest/tests/net/udp/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 65 struct net_udp_context *net_udp_context = dev->data; in net_udp_dev_init() 74 struct net_udp_context *context = dev->data; in net_udp_get_mac() 76 if (context->mac_addr[2] == 0x00) { in net_udp_get_mac() 77 /* 00-00-5E-00-53-xx Documentation RFC 7042 */ in net_udp_get_mac() 78 context->mac_addr[0] = 0x00; in net_udp_get_mac() 79 context->mac_addr[1] = 0x00; in net_udp_get_mac() 80 context->mac_addr[2] = 0x5E; in net_udp_get_mac() 81 context->mac_addr[3] = 0x00; in net_udp_get_mac() [all …]
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 58 /* Below should match prefix/addr distributed in RA message. */ 80 /* Target Address */ 83 /* Source link layer address */ 85 /* Target link layer address */ 87 /* Source link layer address */ 103 /* Target Address */ 138 /* IPv6 hop-by-hop option in the message */ 146 /* Hop-by-hop option starts here */ [all …]
|
/Zephyr-latest/include/zephyr/drivers/can/ |
D | can_mcan.h | 5 * SPDX-License-Identifier: Apache-2.0 399 * @name Indexes for the cells in the devicetree bosch,mram-cfg property 402 * These match the description of the cells in the bosch,m_can-base devicetree binding. 408 /** std-filter-elements cell index */ 410 /** ext-filter-elements cell index */ 412 /** rx-fifo0-elements cell index */ 414 /** rx-fifo1-elements cell index */ 416 /** rx-buffer-elements cell index */ 418 /** tx-event-fifo-elements cell index */ 420 /** tx-buffer-elements cell index */ [all …]
|
/Zephyr-latest/tests/subsys/openthread/ |
D | radio_test.c | 4 * SPDX-License-Identifier: Apache-2.0 18 #include <platform-zephyr.h> 23 * @brief Tests for the radio.c - OpenThread radio api 111 zassert_equal(otPlatRadioReceiveDone_expected_aframe.mChannel, aFrame->mChannel); in otPlatRadioReceiveDone() 112 zassert_equal(otPlatRadioReceiveDone_expected_aframe.mLength, aFrame->mLength); in otPlatRadioReceiveDone() 113 zassert_mem_equal(otPlatRadioReceiveDone_expected_aframe.mPsdu, aFrame->mPsdu, in otPlatRadioReceiveDone() 114 aFrame->mLength, NULL); in otPlatRadioReceiveDone() 160 const int16_t energy = -94; in ZTEST() 192 const int16_t energy = -94; in ZTEST() 196 scan_mock_fake.return_val = -EBUSY; in ZTEST() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 30 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:: 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 57 * To set the destination address, call ``mesh target dst <Addr>``. 61 By default, the transmission parameters are set to send messages to the provisioned address and 67 By setting the destination address to the local unicast address (``0x0001`` in the 68 ``mesh prov local`` command above), we can perform self-configuration through any of the 73 uart:~$ mesh models cfg get-comp [all …]
|