1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 19:43:52 +01:00
RIOT/sys/include/suit/storage/flashwrite.h
Marian Buschsieweke cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00

43 lines
937 B
C

/*
* Copyright (C) 2020 Koen Zandberg
* 2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#pragma once
/**
* @defgroup sys_suit_storage_flashwrite riotboot flashwrite storage backend
* @ingroup sys_suit_storage
* @brief SUIT riotboot firmware storage backend
*
* @{
*
* @brief riotboot Flashwrite storage backend functions for SUIT manifests
* @author Koen Zandberg <koen@bergzand.net>
*/
#include "suit.h"
#include "riotboot/flashwrite.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief riotboot flashwrite SUIT storage context
*/
typedef struct {
suit_storage_t storage; /**< parent struct */
riotboot_flashwrite_t writer; /**< Riotboot flashwriter */
} suit_storage_flashwrite_t;
#ifdef __cplusplus
}
#endif
/** @} */