123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #include "Marlin.h"
- #ifdef SDSUPPORT
- #ifndef SdFatConfig_h
- #define SdFatConfig_h
- #include <stdint.h>
- #define USE_MULTIPLE_CARDS 0
- #define ENDL_CALLS_FLUSH 0
- #define ALLOW_DEPRECATED_FUNCTIONS 1
- #define FAT12_SUPPORT 0
- #define SPI_SD_INIT_RATE 5
- #define SET_SPI_SS_HIGH 1
- #define MEGA_SOFT_SPI 0
- #define USE_SOFTWARE_SPI 0
- uint8_t const SOFT_SPI_CS_PIN = 10;
- 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_CXA_PURE_VIRTUAL 1
- #define MAX_VFAT_ENTRIES (4)
- #define FILENAME_LENGTH 13
- #define LONG_FILENAME_LENGTH (13*MAX_VFAT_ENTRIES+1)
- #endif
- #endif
|