1 |
|
1 |
|
2 |
/* |
2 |
/* |
3 |
* Copyright (c) 2006-2007 by Roland Riegel <feedback@roland-riegel.de> |
3 |
* Copyright (c) 2006-2007 by Roland Riegel <feedback@roland-riegel.de> |
4 |
* |
4 |
* |
5 |
* This file is free software; you can redistribute it and/or modify |
5 |
* This file is free software; you can redistribute it and/or modify |
6 |
* it under the terms of either the GNU General Public License version 2 |
6 |
* it under the terms of either the GNU General Public License version 2 |
7 |
* or the GNU Lesser General Public License version 2.1, both as |
7 |
* or the GNU Lesser General Public License version 2.1, both as |
8 |
* published by the Free Software Foundation. |
8 |
* published by the Free Software Foundation. |
9 |
*/ |
9 |
*/ |
10 |
|
10 |
|
11 |
#ifndef SD_READER_CONFIG_H |
11 |
#ifndef SD_READER_CONFIG_H |
12 |
#define SD_READER_CONFIG_H |
12 |
#define SD_READER_CONFIG_H |
13 |
|
13 |
|
14 |
/** |
14 |
/** |
15 |
* \addtogroup config Sd-reader configuration |
15 |
* \addtogroup config Sd-reader configuration |
16 |
* |
16 |
* |
17 |
* @{ |
17 |
* @{ |
18 |
*/ |
18 |
*/ |
19 |
|
19 |
|
20 |
/** |
20 |
/** |
21 |
* \file |
21 |
* \file |
22 |
* Common sd-reader configuration used by all modules (license: GPLv2 or LGPLv2.1) |
22 |
* Common sd-reader configuration used by all modules (license: GPLv2 or LGPLv2.1) |
23 |
* |
23 |
* |
24 |
* \note This file contains only configuration items relevant to |
24 |
* \note This file contains only configuration items relevant to |
25 |
* all sd-reader implementation files. For module specific configuration |
25 |
* all sd-reader implementation files. For module specific configuration |
26 |
* options, please see the files fat16_config.h, partition_config.h |
26 |
* options, please see the files fat16_config.h, partition_config.h |
27 |
* and sd_raw_config.h. |
27 |
* and sd_raw_config.h. |
28 |
*/ |
28 |
*/ |
29 |
|
29 |
|
30 |
/** |
30 |
/** |
31 |
* Controls allocation of memory. |
31 |
* Controls allocation of memory. |
32 |
* |
32 |
* |
33 |
* Set to 1 to use malloc()/free() for allocation of structures |
33 |
* Set to 1 to use malloc()/free() for allocation of structures |
34 |
* like file and directory handles, set to 0 to use pre-allocated |
34 |
* like file and directory handles, set to 0 to use pre-allocated |
35 |
* fixed-size handle arrays. |
35 |
* fixed-size handle arrays. |
36 |
*/ |
36 |
*/ |
37 |
#define USE_DYNAMIC_MEMORY 0 |
37 |
#define USE_DYNAMIC_MEMORY 0 |
38 |
|
38 |
|
39 |
/** |
39 |
/** |
40 |
* @} |
40 |
* @} |
41 |
*/ |
41 |
*/ |
42 |
|
42 |
|
43 |
#endif |
43 |
#endif |
44 |
|
44 |
|