Skip to content

Commit d4b9458

Browse files
committed
samd: sdio: Add needed files from atmel start
1 parent 05837b2 commit d4b9458

File tree

4 files changed

+3061
-0
lines changed

4 files changed

+3061
-0
lines changed

ports/atmel-samd/sd_mmc/conf_sd_mmc.h

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/* Auto-generated config file conf_sd_mmc.h */
2+
#ifndef CONF_SD_MMC_H
3+
#define CONF_SD_MMC_H
4+
5+
// <<< Use Configuration Wizard in Context Menu >>>
6+
7+
// <q> Enable the SDIO support
8+
// <id> conf_sdio_support
9+
#ifndef CONF_SDIO_SUPPORT
10+
#define CONF_SDIO_SUPPORT 0
11+
#endif
12+
13+
// <q> Enable the MMC card support
14+
// <id> conf_mmc_support
15+
#ifndef CONF_MMC_SUPPORT
16+
#define CONF_MMC_SUPPORT 0
17+
#endif
18+
19+
// <q> Enable the OS support
20+
// <id> conf_sd_mmc_os_support
21+
#ifndef CONF_OS_SUPPORT
22+
#define CONF_OS_SUPPORT 0
23+
#endif
24+
25+
// Detection (card/write protect) timeout (ms/ticks)
26+
// conf_sd_mmc_debounce
27+
#ifndef CONF_SD_MMC_DEBOUNCE
28+
#define CONF_SD_MMC_DEBOUNCE 1000
29+
#endif
30+
31+
#ifndef CONF_SD_MMC_MEM_CNT
32+
#define CONF_SD_MMC_MEM_CNT 1
33+
#endif
34+
35+
// <e> SD/MMC Slot 0
36+
// <id> conf_sd_mmc_0_enable
37+
#ifndef CONF_SD_MMC_0_ENABLE
38+
#define CONF_SD_MMC_0_ENABLE 1
39+
#endif
40+
41+
// <e> Card Detect (CD) 0 Enable
42+
// <id> conf_sd_mmc_0_cd_detect_en
43+
#ifndef CONF_SD_MMC_0_CD_DETECT_EN
44+
#define CONF_SD_MMC_0_CD_DETECT_EN 0
45+
#endif
46+
47+
// <o> Card Detect (CD) detection level
48+
// <1=> High
49+
// <0=> Low
50+
// <id> conf_sd_mmc_0_cd_detect_value
51+
#ifndef CONF_SD_MMC_0_CD_DETECT_VALUE
52+
#define CONF_SD_MMC_0_CD_DETECT_VALUE 0
53+
#endif
54+
// </e>
55+
56+
// <e> Write Protect (WP) 0 Enable
57+
// <id> conf_sd_mmc_0_wp_detect_en
58+
#ifndef CONF_SD_MMC_0_WP_DETECT_EN
59+
#define CONF_SD_MMC_0_WP_DETECT_EN 0
60+
#endif
61+
62+
// <o> Write Protect (WP) detection level
63+
// <1=> High
64+
// <0=> Low
65+
// <id> conf_sd_mmc_0_wp_detect_value
66+
#ifndef CONF_SD_MMC_0_WP_DETECT_VALUE
67+
#define CONF_SD_MMC_0_WP_DETECT_VALUE 1
68+
#endif
69+
// </e>
70+
71+
// </e>
72+
73+
#ifndef CONF_MCI_OS_SUPPORT
74+
#define CONF_MCI_OS_SUPPORT 0
75+
#endif
76+
77+
// <<< end of configuration section >>>
78+
79+
#endif // CONF_SD_MMC_H

0 commit comments

Comments
 (0)