Configuration - WMXZ-EU/uSDFS GitHub Wiki
There are three places where configuration activities take place, or are possible
ffconf.h
There are a list of defines that may be used to change the functionality of the underlaying file system. At the moment, the following features are activated
- long filename
- exFAT enabled
- multi partitions enabled Change only if you know what you are doing
utility/sd_config.h
Here you configure the low-level device settings. Important settings address
- SPI Chip select and DMA channel numbers
- SDIO transfer methot (DMA or Polling)
- use of MSC (USB mass storage). Needs MSC library
sketch file
In case multi partitions are used, there needs to be a mapping defined. A default mapping is done in master include file "uSDFS.h". However this can be replaced in the sketch file by telling uSDFS not to implement mapping and implementing mapping explicit in sketch file.
#define MY_VOL_TO_PART
#include "uSDFS.h"
How to declare the Partition mapping inspect uSDFS.h, or the "logger_RawWrite.ino example