Skip to content

Commit b039d93

Browse files
committed
lib/oofatfs/ffconf.h: Allow to configure FS_EXFAT option.
Using MICROPY_FATFS_EXFAT. Enabling this has licensing implications; see https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx
1 parent 80dfd65 commit b039d93

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/oofatfs/ffconf.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@
268268
/ buffer in the file system object (FATFS) is used for the file data transfer. */
269269

270270

271+
#ifdef MICROPY_FATFS_EXFAT
272+
#define _FS_EXFAT (MICROPY_FATFS_EXFAT)
273+
#else
271274
#define _FS_EXFAT 0
275+
#endif
272276
/* This option switches support of exFAT file system. (0:Disable or 1:Enable)
273277
/ When enable exFAT, also LFN needs to be enabled. (_USE_LFN >= 1)
274278
/ Note that enabling exFAT discards C89 compatibility. */

0 commit comments

Comments
 (0)