mtd_native.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 OTA keys S.A.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef MTD_NATIVE_H
21 #define MTD_NATIVE_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include "mtd.h"
28 
30 typedef struct mtd_native_dev {
32  const char *fname;
34 
38 extern const mtd_desc_t native_flash_driver;
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* MTD_NATIVE_H */
const mtd_desc_t native_flash_driver
Native mtd flash driver.
struct mtd_native_dev mtd_native_dev_t
mtd native descriptor
MTD driver interface.
Definition: mtd.h:204
MTD device descriptor.
Definition: mtd.h:112
mtd native descriptor
Definition: mtd_native.h:30
mtd_dev_t base
mtd generic device
Definition: mtd_native.h:31
const char * fname
filename to use for memory emulation
Definition: mtd_native.h:32