RAM blob SUIT payload storage backends. More...

Detailed Description

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.

Data Structures

struct  suit_storage_ram_region_t
 Single in-memory storage region. More...
 
struct  CONFIG_SUIT_STORAGE_RAM_ATTR
 memory storage state More...
 

Macros

#define CONFIG_SUIT_STORAGE_RAM_SIZE   (64U)
 Size of each memory region.
 
#define CONFIG_SUIT_STORAGE_RAM_REGIONS   (2U)
 Number of allocated regions.
 
#define CONFIG_SUIT_STORAGE_RAM_ATTR
 Extra attributes for allocating the RAM struct.
 

Typedefs

typedef struct CONFIG_SUIT_STORAGE_RAM_ATTR suit_storage_ram_t
 memory storage state