Mercurial > pihelp
comparison sd-reader_config.h @ 19:5f9a40d6991b
Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Use smaller build options
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 25 Jun 2013 13:55:11 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
18:021e6e0006f4 | 19:5f9a40d6991b |
---|---|
1 | |
2 /* | |
3 * Copyright (c) 2006-2012 by Roland Riegel <[email protected]> | |
4 * | |
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 | |
7 * or the GNU Lesser General Public License version 2.1, both as | |
8 * published by the Free Software Foundation. | |
9 */ | |
10 | |
11 #ifndef SD_READER_CONFIG_H | |
12 #define SD_READER_CONFIG_H | |
13 | |
14 #ifdef __cplusplus | |
15 extern "C" | |
16 { | |
17 #endif | |
18 | |
19 /** | |
20 * \addtogroup config Sd-reader configuration | |
21 * | |
22 * @{ | |
23 */ | |
24 | |
25 /** | |
26 * \file | |
27 * Common sd-reader configuration used by all modules (license: GPLv2 or LGPLv2.1) | |
28 * | |
29 * \note This file contains only configuration items relevant to | |
30 * all sd-reader implementation files. For module specific configuration | |
31 * options, please see the files fat_config.h, partition_config.h | |
32 * and sd_raw_config.h. | |
33 */ | |
34 | |
35 /** | |
36 * Controls allocation of memory. | |
37 * | |
38 * Set to 1 to use malloc()/free() for allocation of structures | |
39 * like file and directory handles, set to 0 to use pre-allocated | |
40 * fixed-size handle arrays. | |
41 */ | |
42 #define USE_DYNAMIC_MEMORY 0 | |
43 | |
44 /** | |
45 * @} | |
46 */ | |
47 | |
48 #ifdef __cplusplus | |
49 } | |
50 #endif | |
51 | |
52 #endif | |
53 |