Loading...
Searching...
No Matches

SUIT riotboot firmware storage backend. More...

Detailed Description

SUIT riotboot firmware storage backend.

VFS storage can service different files mounted on the filesystem. Serviceable FILES must be registered:

#include "suit/storage/vfs.h"
#include "xfa.h"
XFA_USE(char*, suit_storage_files_reg);
XFA(suit_storage_files_reg, 0) char* _firmware_0 = VFS_DEFAULT_DATA "/FW0.TXT";
#define VFS_DEFAULT_DATA
Default data directory This can be written to by applications.
Definition vfs_default.h:78
Cross File Arrays.
#define XFA_USE(type, name)
Declare an external writable cross-file array.
Definition xfa.h:128
#define XFA(xfa_name, prio)
Define variable in writable cross-file array.
Definition xfa.h:144

Once registered its content may be securely updated via SUIT by specifying the "install-id" as the filepath.

riotboot vfs storage backend functions for SUIT manifests

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Data Structures

struct  suit_storage_vfs_t
 riotboot vfs SUIT storage context More...
 

Macros

#define CONFIG_SUIT_STORAGE_MOUNT_POINT   VFS_DEFAULT_DATA
 Storage location string separators.
 
#define CONFIG_SUIT_STORAGE_SEQ_NO_LOCATION   (CONFIG_SUIT_STORAGE_MOUNT_POINT "/SEQNO.txt")
 Storage location string separators.
 

Macro Definition Documentation

◆ CONFIG_SUIT_STORAGE_MOUNT_POINT

#define CONFIG_SUIT_STORAGE_MOUNT_POINT   VFS_DEFAULT_DATA

Storage location string separators.

Definition at line 48 of file vfs.h.

◆ CONFIG_SUIT_STORAGE_SEQ_NO_LOCATION

#define CONFIG_SUIT_STORAGE_SEQ_NO_LOCATION   (CONFIG_SUIT_STORAGE_MOUNT_POINT "/SEQNO.txt")

Storage location string separators.

Definition at line 55 of file vfs.h.