Fix some builds by disabling exfat

This commit is contained in:
Scott Shawcroft 2021-08-18 08:22:29 -07:00
parent 1d7e24484c
commit e0ce5ff045
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
5 changed files with 12 additions and 1 deletions

View File

@ -59,6 +59,8 @@
X(EISDIR) \
X(EINVAL) \
#define MICROPY_FATFS_EXFAT 0
#endif // SAMD21
////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -48,3 +48,5 @@
#define BLEIO_ATTR_TAB_SIZE (BLE_GATTS_ATTR_TAB_SIZE_DEFAULT * 2)
#define SOFTDEVICE_RAM_SIZE (32 * 1024)
#define MICROPY_FATFS_EXFAT 0

View File

@ -57,3 +57,5 @@
#define BLEIO_ATTR_TAB_SIZE (BLE_GATTS_ATTR_TAB_SIZE_DEFAULT * 2)
#define SOFTDEVICE_RAM_SIZE (32 * 1024)
#define MICROPY_FATFS_EXFAT 0

View File

@ -41,3 +41,5 @@
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
// #define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
// #define LSE_VALUE ((uint32_t)32768)
#define MICROPY_FATFS_EXFAT 0

View File

@ -139,7 +139,6 @@
#define MICROPY_FATFS_USE_LABEL (1)
#define MICROPY_FATFS_RPATH (2)
#define MICROPY_FATFS_MULTI_PARTITION (1)
#define MICROPY_FATFS_EXFAT (CIRCUITPY_FULL_BUILD)
#define MICROPY_FATFS_LFN_UNICODE 2 // UTF-8
// Only enable this if you really need it. It allocates a byte cache of this size.
@ -212,6 +211,10 @@ typedef long mp_off_t;
#define MICROPY_PY_URE_MATCH_SPAN_START_END (CIRCUITPY_RE)
#define MICROPY_PY_URE_SUB (CIRCUITPY_RE)
#ifndef MICROPY_FATFS_EXFAT
#define MICROPY_FATFS_EXFAT (CIRCUITPY_FULL_BUILD)
#endif
// LONGINT_IMPL_xxx are defined in the Makefile.
//
#ifdef LONGINT_IMPL_NONE