Home
last modified time | relevance | path

Searched +full:retained +full:- +full:ram (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-3.5.0/samples/boards/nrf/system_off/src/
Dretained.c4 * SPDX-License-Identifier: Apache-2.0
7 #include "retained.h"
19 /* nRF52 RAM (really, RAM AHB slaves) are partitioned as:
28 /* Inclusive address of RAM start */
31 /* Exclusive address of RAM end */
34 /* Size of a controllable RAM section in the small blocks */
37 /* Number of controllable RAM sections in each of the lower blocks */
49 /* Inclusive address of the RAM range covered by large sections */
52 /* Size of a controllable RAM section in large blocks */
55 /* Set or clear RAM retention in SYSTEM_OFF for the provided object.
[all …]
/Zephyr-Core-3.5.0/drivers/retained_mem/
DKconfig.zephyr2 # SPDX-License-Identifier: Apache-2.0
5 bool "Generic Zephyr RAM retained memory driver"
9 Enable driver for retained memory in RAM.
/Zephyr-Core-3.5.0/dts/bindings/retained_mem/
Dzephyr,retained-ram.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Unitialised RAM-based retained memory area.
6 compatible: "zephyr,retained-ram"
11 "#address-cells":
14 "#size-cells":
/Zephyr-Core-3.5.0/doc/services/retention/
Dindex.rst11 power failure (or during some low-power modes on some devices) nor should it be
12 stored to a non-volatile storage like :ref:`flash_api`, :ref:`eeprom_api`, or
13 battery-backed RAM.
15 The retention system builds on top of the retained data driver, and adds
16 additional software-level features to it for ensuring the validity of data.
18 the retained data memory section contains this specific value, and an optional
19 checksum (1, 2, or 4-bytes in size) of the stored data can be appended to the
21 the retained data sections into multiple distinct areas. For example, a 64-byte
22 retained data area could be split up into 4 bytes for a boot mode, 16 bytes for
25 per-instance using devicetree.
[all …]
Dblinfo.rst16 created which has a retained data section as its parent, generally non-init RAM
20 .. code-block:: devicetree
24 compatible = "zephyr,memory-region", "mmio-sram";
26 zephyr,memory-region = "RetainedMem";
30 compatible = "zephyr,retained-ram";
32 #address-cells = <1>;
33 #size-cells = <1>;
44 zephyr,bootloader-info = &boot_info0;
49 /* Reduce SRAM0 usage by 1KB to account for non-init area */
65 * :kconfig:option:`CONFIG_RETAINED_MEM` - Enables retained memory driver
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dretained_mem.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public API for retained memory drivers
31 * @brief Retained memory driver interface
32 * @defgroup retained_mem_interface Retained memory driver interface
39 * @brief Callback API to get size of retained memory area.
46 * @brief Callback API to read from retained memory area.
54 * @brief Callback API to write to retained memory area.
62 * @brief Callback API to clear retained memory area (reset all data to 0x00).
68 * @brief Retained memory driver API
69 * API which can be used by a device to store data in a retained memory area. Retained memory is
[all …]
Ddisplay.h4 * SPDX-License-Identifier: Apache-2.0
26 #include <zephyr/dt-bindings/display/panel.h>
80 * Screen has two alternating ram buffers
247 (struct display_driver_api *)dev->api; in display_write()
249 return api->write(dev, x, y, desc, buf); in display_write()
269 (struct display_driver_api *)dev->api; in display_read()
271 return api->read(dev, x, y, desc, buf); in display_read()
286 (struct display_driver_api *)dev->api; in display_get_framebuffer()
288 return api->get_framebuffer(dev); in display_get_framebuffer()
295 * The content of the frame buffer will be retained while blanking is enabled
[all …]
/Zephyr-Core-3.5.0/samples/boards/nrf/system_off/
DREADME.rst1 .. _nrf-system-off-sample:
12 RAM Retention
15 On nRF52 platforms this also can demonstrate RAM retention. By selecting
17 system off was entered, and total uptime since initial power-on are retained
19 the containing RAM section powered while in system-off mode.
30 -----------------
32 .. code-block:: console
34 *** Booting Zephyr OS build v2.3.0-rc1-204-g5f2eb85f728d ***
/Zephyr-Core-3.5.0/tests/drivers/retained_mem/api/boards/
Dqemu_cortex_m3.overlay5 compatible = "zephyr,memory-region", "mmio-sram";
7 zephyr,memory-region = "Retention";
11 compatible = "zephyr,retained-ram";
Dnrf52840dk_nrf52840_ram.overlay3 compatible = "zephyr,memory-region", "mmio-sram";
5 zephyr,memory-region = "RetainedMem";
9 compatible = "zephyr,retained-ram";
/Zephyr-Core-3.5.0/dts/bindings/retention/
Dzephyr,retention.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Retention subsystem area, which has a retained memory parent. Example
6 64-byte area with 2-byte prefix and 1-byte checksum with 61 usable bytes
10 compatible = "zephyr,memory-region", "mmio-sram";
12 zephyr,memory-region = "RetainedMem";
16 compatible = "zephyr,retained-ram";
18 #address-cells = <1>;
19 #size-cells = <1>;
36 "#address-cells":
43 "#size-cells":
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/common/
Dpm_s2ram.h36 * @retval -EBUSY The system is busy and cannot be powered off at this time.
37 * @retval -errno Other error codes.
44 * This function is used on suspend-to-RAM (S2RAM) to save the CPU context in
45 * (retained) RAM before powering the system off using the provided function.
55 * @retval -EBUSY The system is busy and cannot be suspended at this time.
56 * @retval -errno Negative errno code in case of failure.
/Zephyr-Core-3.5.0/tests/boot/mcuboot_data_sharing/boards/
Dnrf52840dk_nrf52840.overlay1 /* 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>;
25 zephyr,bootloader-info = &boot_info0;
29 /delete-node/ &gpregret1;
30 /delete-node/ &gpregret2;
31 /delete-node/ &boot_partition;
[all …]
/Zephyr-Core-3.5.0/tests/boot/mcuboot_recovery_retention/boards/
Dnrf52840dk_nrf52840_mem.overlay1 /* 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>;
28 zephyr,boot-mode = &boot_mode0;
32 /delete-node/ &gpregret1;
33 /delete-node/ &gpregret2;
34 /delete-node/ &boot_partition;
[all …]
/Zephyr-Core-3.5.0/arch/xtensa/core/startup/
Dreset-vector.S3 * SPDX-License-Identifier: Apache-2.0
10 #include <xtensa/xtensa-xer.h>
11 #include <xtensa/xdm-regs.h>
14 #include <xtensa/xtruntime-core-state.h>
42 .size __start, . - __start
57 #warning "Xtensa TX reset vector not at start of iram0, irom0, or uram0 -- ROMing LSPs may not work"
76 * Even if the processor supports the non-PC-relative L32R option,
77 * it will always start up in PC-relative mode. We take advantage of
78 * this, and use PC-relative mode at least until we're sure the .lit4
81 .begin no-absolute-literals
[all …]
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s3/
Ddefault.ld3 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/linker/linker-defs.h>
16 #include <zephyr/linker/linker-tool.h>
23 #define I_D_SRAM_OFFSET (SRAM_DIRAM_I_START - SRAM_DRAM_START)
26 #define SRAM_DRAM_END (SRAM_IRAM_END - I_D_SRAM_OFFSET)
27 #define I_D_SRAM_SIZE (SRAM_DRAM_END - SRAM_DRAM_START)
31 #define SRAM_IRAM_SIZE (I_D_SRAM_SIZE + ICACHE_SIZE - CONFIG_ESP32S3_INSTRUCTION_CACHE_SIZE)
44 #define EXT_RAM_ORG (0x3E000000 - CONFIG_ESP_SPIRAM_SIZE)
54 #define IROM_SEG_LEN FLASH_SIZE-0x20
79 ROM (RX): org = 0x40, len = FLASH_SIZE - 0x40
[all …]
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-3.4.rst20 * 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 +--------------------------------------------------+
71 +--------------------------------------------------+
[all …]
Drelease-notes-3.5.rst38 * 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 …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-2.6.rst13 * 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 …]
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
DKconfig3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA
4 # Copyright (c) 2015-2016 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
8 bool "Dedicated workqueue for long-running tasks."
11 Adds an API for a workqueue dedicated to long-running tasks.
23 int "Long workqueue priority. Should be pre-emptible."
59 # the worst-case stack size if an out-of-tree controller is used.
71 # Hidden option for Co-Operative Tx thread priority
101 or bt_recv_prio(). The choice will influence RAM usage and how fast incoming HCI
123 bool "Process low priority HCI packets in the bluetooth-specific work queue"
[all …]
/Zephyr-Core-3.5.0/include/zephyr/
Ddevice.h4 * SPDX-License-Identifier: Apache-2.0
143 * Otherwise, the node's full name in `node-name@unit-address` form.
252 * If this returns non-NULL, the device must be checked for readiness
255 * @param compat lowercase-and-underscores devicetree compatible
273 * If this returns non-NULL, the device must be checked for readiness before
276 * @param compat lowercase-and-underscores devicetree compatible
313 * This macro can be used at the top-level to declare a device, such
318 * device's init or per-instance config function, as the init function
347 * @brief Runtime device dynamic structure (in RAM) per driver instance
349 * Fields in this are expected to be default-initialized to zero. The
[all …]
Dkernel.h4 * SPDX-License-Identifier: Apache-2.0
51 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
54 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
58 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
166 * bits, arch-specific use high bits.
212 * from within a user-provided callback they have been invoked.
213 * Effectively it serves as a tiny bit of zero-overhead TLS data.
265 /* end - thread options */
272 * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`)
290 * @retval -EBUSY if the thread stack is in use.
[all …]
/Zephyr-Core-3.5.0/
DMAINTAINERS.yml45 # files-regex:
56 # files-exclude:
59 # files-regex-exclude:
60 # Like 'files-regex', but any matching files will be excluded from the
63 # description: >-
64 # Plain-English description. Describe what the system is about, from an
68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are
72 # this would be sub-areas which add extra fields (for ex. more `collaborators`
73 # who work only in that sub-area) to other areas.
98 # Collaborators: <list of sub-maintainers>
[all …]