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
9#pragma once
10
20
21#include "board.h"
22#include "modules.h"
23#include "mtd.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#if defined(MODULE_MTD_SDCARD_DEFAULT)
30#include "mtd_sdcard.h"
31#endif
32
33#if defined(MODULE_MTD_EMULATED)
34#include "mtd_emulated.h"
35#endif
36
37#if defined(MODULE_MTD_SDCARD_DEFAULT)
38extern mtd_sdcard_t mtd_sdcard_dev0;
39#endif
40
41#if defined(MODULE_MTD_EMULATED)
42extern mtd_emulated_t mtd_emulated_dev0;
43#endif
44
45#ifdef __cplusplus
46}
47#endif
48
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:39