All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
mtd_default.h
1/*
2 * Copyright (C) 2023 ML!PA Consulting GmbH
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#ifndef MTD_DEFAULT_H
9#define MTD_DEFAULT_H
20#include "board.h"
21#include "modules.h"
22#include "mtd.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28#if defined(MODULE_MTD_SDCARD_DEFAULT)
29#include "mtd_sdcard.h"
30#endif
31
32#if defined(MODULE_MTD_EMULATED)
33#include "mtd_emulated.h"
34#endif
35
36#if defined(MODULE_MTD_SDCARD_DEFAULT)
37extern mtd_sdcard_t mtd_sdcard_dev0;
38#endif
39
40#if defined(MODULE_MTD_EMULATED)
41extern mtd_emulated_t mtd_emulated_dev0;
42#endif
43
44#ifdef __cplusplus
45}
46#endif
47
49#endif /* MTD_DEFAULT_H */
Common macros and compiler attributes/pragmas configuration.
Interface definition for the mtd_sdcard driver.
Device descriptor for a MTD device that is emulated in RAM.
Device descriptor for mtd_sdcard device.
Definition mtd_sdcard.h:40