File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 189
189
#define USE_TINYUSB
190
190
#define USE_STATUS_LED
191
191
#define STATUS_LED_PIN LED_BUILTIN
192
+ //------------- Adafruit SDfat Fork configuration -------------//
193
+ #define USE_BLOCK_DEVICE_INTERFACE 1
194
+ #define FAT12_SUPPORT 1
195
+ #define SDFAT_FILE_TYPE 1
196
+ #define USE_SPI_ARRAY_TRANSFER 1
197
+ #define USE_UTF8_LONG_NAMES 1
192
198
#elif defined(ARDUINO_RASPBERRY_PI_PICO_2W )
193
199
#define BOARD_ID "rpi-pico-2w"
194
200
#define USE_TINYUSB
195
201
#define USE_STATUS_LED
196
202
#define STATUS_LED_PIN LED_BUILTIN
203
+ //------------- Adafruit SDfat Fork configuration -------------//
204
+ #ifdef USE_BLOCK_DEVICE_INTERFACE
205
+ #undef USE_BLOCK_DEVICE_INTERFACE
206
+ #endif
207
+ #define USE_BLOCK_DEVICE_INTERFACE 1
208
+ #ifdef FAT12_SUPPORT
209
+ #undef FAT12_SUPPORT
210
+ #endif
211
+ #define FAT12_SUPPORT 1
212
+ #ifdef SDFAT_FILE_TYPE
213
+ #undef SDFAT_FILE_TYPE
214
+ #endif
215
+ #define SDFAT_FILE_TYPE 1
216
+ #ifdef USE_SPI_ARRAY_TRANSFER
217
+ #undef USE_SPI_ARRAY_TRANSFER
218
+ #endif
219
+ #define USE_SPI_ARRAY_TRANSFER 1
220
+ #ifdef USE_UTF8_LONG_NAMES
221
+ #undef USE_UTF8_LONG_NAMES
222
+ #endif
223
+ #define USE_UTF8_LONG_NAMES 1
197
224
#else
198
225
#warning "Board type not identified within Wippersnapper_Boards.h!"
199
226
#endif
You can’t perform that action at this time.
0 commit comments