Loading...
Searching...
No Matches
mtd_default.h
1/*
2 * SPDX-FileCopyrightText: 2023 ML!PA Consulting GmbH
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board.h"
19#include "modules.h"
20#include "mtd.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#if defined(MODULE_MTD_SDCARD_DEFAULT)
27#include "mtd_sdcard.h"
28#endif
29
30#if defined(MODULE_MTD_EMULATED)
31#include "mtd_emulated.h"
32#endif
33
34#if defined(MODULE_MTD_SDCARD_DEFAULT)
35extern mtd_sdcard_t mtd_sdcard_dev0;
36#endif
37
38#if defined(MODULE_MTD_EMULATED)
39extern mtd_emulated_t mtd_emulated_dev0;
40#endif
41
42#ifdef __cplusplus
43}
44#endif
45
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:36