-
-
- #ifndef SdFatConfig_h
- #define SdFatConfig_h
- #include <stdint.h>
- #ifdef __AVR__
- #include <avr/io.h>
- #endif
-
-
- #define USE_LONG_FILE_NAMES 1
-
-
- #define ARDUINO_FILE_USES_STREAM 1
-
-
- #define SD_SPI_CONFIGURATION 0
-
-
-
- uint8_t const SOFT_SPI_MOSI_PIN = 11;
-
- uint8_t const SOFT_SPI_MISO_PIN = 12;
-
- uint8_t const SOFT_SPI_SCK_PIN = 13;
-
-
- #define USE_SD_CRC 0
-
-
- #define ENABLE_SPI_TRANSACTION 0
-
-
- #define ENABLE_SPI_YIELD 0
-
-
- #define FAT12_SUPPORT 0
-
-
- #define DESTRUCTOR_CLOSES_FILE 0
-
-
- #define ENDL_CALLS_FLUSH 0
-
-
- #ifdef __AVR__
- const uint8_t SPI_SCK_INIT_DIVISOR = 64;
- #else
- const uint8_t SPI_SCK_INIT_DIVISOR = 128;
- #endif
-
-
- #ifdef __arm__
- #define USE_SEPARATE_FAT_CACHE 1
- #else
- #define USE_SEPARATE_FAT_CACHE 0
- #endif
-
-
- #if defined(RAMEND) && RAMEND < 3000
- #define USE_MULTI_BLOCK_IO 0
- #else
- #define USE_MULTI_BLOCK_IO 1
- #endif
- #endif
|