To add a storage backend, complete the following steps:
- Implement
struct storage_backendas defined instorage_backend.h. - Provide the
storage_backend_get()function. - Add a Kconfig option in
Kconfig.storage.
For reference, see backends/ram_ring_buffer_backend.c.