RAM blob SUIT payload storage backends.
More...
RAM blob SUIT payload storage backends.
RAM-based storage backend for SUIT OTA updates
- Author
- Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
This module implements a RAM-backed storage interface for SUIT. The main purpose is mock testing the SUIT implementation, however the interface could also be used for to target backup ram storage by changing CONFIG_SUIT_STORAGE_RAM_SIZE to store it in backup ram.
The module uses a .ram.### structure where the number indicates the index of the memory region being targeted.
- Warning
- The install function is implemented as a noop. There is no distinction between valid content and not yet invalidated content.
◆ CONFIG_SUIT_STORAGE_RAM_ATTR
Extra attributes for allocating the RAM struct.
Definition at line 60 of file ram.h.
◆ CONFIG_SUIT_STORAGE_RAM_LOCATION_PREFIX
#define CONFIG_SUIT_STORAGE_RAM_LOCATION_PREFIX ".ram." |
Storage location string prefix.
Must include the leading and trailing separators
Definition at line 76 of file ram.h.
◆ CONFIG_SUIT_STORAGE_RAM_LOCATION_SEPARATOR
#define CONFIG_SUIT_STORAGE_RAM_LOCATION_SEPARATOR '.' |
Storage location string separators.
Definition at line 67 of file ram.h.
◆ CONFIG_SUIT_STORAGE_RAM_REGIONS
#define CONFIG_SUIT_STORAGE_RAM_REGIONS (2U) |
Number of allocated regions.
Definition at line 53 of file ram.h.
◆ CONFIG_SUIT_STORAGE_RAM_SIZE
#define CONFIG_SUIT_STORAGE_RAM_SIZE (64U) |
Size of each memory region.
Definition at line 46 of file ram.h.