aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_conf.h
blob: 74dde463204d9ae28069487dffc84bc7fe917ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef SAMA_SDMMC_CONF_H
#define SAMA_SDMMC_CONF_H

#include "ch_sdmmc_sama5d2.h"




#ifndef SAMA_SDMMC_SDMMCDRIVER_IRQ_PRIORITY
#define SAMA_SDMMC_SDMMCDRIVER_IRQ_PRIORITY	4
#endif

#ifndef SAMA_SDMMC_TRACE
#define SAMA_SDMMC_TRACE		0
#endif

#ifndef SAMA_SDMMC_TRACE_LEVEL
#define SAMA_SDMMC_TRACE_LEVEL 	5
#endif

/** Default block size for SD/MMC access */
#ifndef SDMMC_BLOCK_SIZE
#define SDMMC_BLOCK_SIZE        512
#endif


#ifndef SDMMC_USE_FF_LIB
#define SDMMC_USE_FF_LIB		1
#endif

#ifndef SDMMC_USE_RELEDGE_LIB
#define SDMMC_USE_RELEDGE_LIB	1
#endif

#endif //SAMA_SDMMC_CONF_H