00001 00002 /* 00003 * Copyright (c) 2006-2010 by Roland Riegel <feedback@roland-riegel.de> 00004 * 00005 * This file is free software; you can redistribute it and/or modify 00006 * it under the terms of either the GNU General Public License version 2 00007 * or the GNU Lesser General Public License version 2.1, both as 00008 * published by the Free Software Foundation. 00009 */ 00010 00011 #ifndef SD_READER_CONFIG_H 00012 #define SD_READER_CONFIG_H 00013 00014 #ifdef __cplusplus 00015 extern "C" 00016 { 00017 #endif 00018 00019 /** 00020 * \addtogroup config Sd-reader configuration 00021 * 00022 * @{ 00023 */ 00024 00025 /** 00026 * \file 00027 * Common sd-reader configuration used by all modules (license: GPLv2 or LGPLv2.1) 00028 * 00029 * \note This file contains only configuration items relevant to 00030 * all sd-reader implementation files. For module specific configuration 00031 * options, please see the files fat_config.h, partition_config.h 00032 * and sd_raw_config.h. 00033 */ 00034 00035 /** 00036 * Controls allocation of memory. 00037 * 00038 * Set to 1 to use malloc()/free() for allocation of structures 00039 * like file and directory handles, set to 0 to use pre-allocated 00040 * fixed-size handle arrays. 00041 */ 00042 #define USE_DYNAMIC_MEMORY 0 00043 00044 /** 00045 * @} 00046 */ 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00052 #endif 00053
1.5.6