STIMA  3
sdcard_config.h
Go to the documentation of this file.
1 
3 /*********************************************************************
4 Copyright (C) 2017 Marco Baldinetti <m.baldinetti@digiteco.it>
5 authors:
6 Paolo Patruno <p.patruno@iperbole.bologna.it>
7 Marco Baldinetti <m.baldinetti@digiteco.it>
8 
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 **********************************************************************/
22 
23 #ifndef _SDCARD_CONFIG_H
24 #define _SDCARD_CONFIG_H
25 
26 // define used by SdFat library
27 #define SPI_DRIVER_SELECT 1
28 #define USE_SD_CRC 2
29 #define SDFAT_FILE_TYPE 1
30 #define USE_LONG_FILE_NAMES 1
31 #define USE_SEPARATE_FAT_CACHE 0
32 #define USE_EXFAT_BITMAP_CACHE 0
33 #define USE_UTF8_LONG_NAMES 0
34 #define USE_FAT_FILE_FLAG_CONTIGUOUS 0
35 #define ENABLE_DEDICATED_SPI 1
36 
37 
42 #define SDCARD_FILES_NAME_MAX_LENGTH (20)
43 
44 #endif