Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
mtd_native.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016 OTA keys S.A.
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
14
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include "mtd.h"
25
27
typedef
struct
mtd_native_dev
{
28
mtd_dev_t
base
;
29
const
char
*
fname
;
30
}
mtd_native_dev_t
;
31
35
extern
const
mtd_desc_t
native_flash_driver
;
36
37
#ifdef __cplusplus
38
}
39
#endif
40
native_flash_driver
const mtd_desc_t native_flash_driver
Native mtd flash driver.
mtd_native_dev_t
struct mtd_native_dev mtd_native_dev_t
mtd native descriptor
mtd_desc_t
struct mtd_desc mtd_desc_t
MTD driver interface.
Definition
mtd.h:103
mtd_dev_t
MTD device descriptor.
Definition
mtd.h:111
mtd_native_dev
mtd native descriptor
Definition
mtd_native.h:27
mtd_native_dev::base
mtd_dev_t base
mtd generic device
Definition
mtd_native.h:28
mtd_native_dev::fname
const char * fname
filename to use for memory emulation
Definition
mtd_native.h:29
Generated on Tue Oct 7 2025 21:39:42 by
1.13.2