Skip to content

Commit e0ce5ff

Browse files
committed
Fix some builds by disabling exfat
1 parent 1d7e244 commit e0ce5ff

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

ports/atmel-samd/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
X(EISDIR) \
6060
X(EINVAL) \
6161

62+
#define MICROPY_FATFS_EXFAT 0
63+
6264
#endif // SAMD21
6365

6466
////////////////////////////////////////////////////////////////////////////////////////////////////

ports/nrf/boards/pca10100/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@
4848
#define BLEIO_ATTR_TAB_SIZE (BLE_GATTS_ATTR_TAB_SIZE_DEFAULT * 2)
4949

5050
#define SOFTDEVICE_RAM_SIZE (32 * 1024)
51+
52+
#define MICROPY_FATFS_EXFAT 0

ports/nrf/boards/simmel/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@
5757
#define BLEIO_ATTR_TAB_SIZE (BLE_GATTS_ATTR_TAB_SIZE_DEFAULT * 2)
5858

5959
#define SOFTDEVICE_RAM_SIZE (32 * 1024)
60+
61+
#define MICROPY_FATFS_EXFAT 0

ports/stm/boards/espruino_pico/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@
4141
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
4242
// #define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
4343
// #define LSE_VALUE ((uint32_t)32768)
44+
45+
#define MICROPY_FATFS_EXFAT 0

py/circuitpy_mpconfig.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
#define MICROPY_FATFS_USE_LABEL (1)
140140
#define MICROPY_FATFS_RPATH (2)
141141
#define MICROPY_FATFS_MULTI_PARTITION (1)
142-
#define MICROPY_FATFS_EXFAT (CIRCUITPY_FULL_BUILD)
143142
#define MICROPY_FATFS_LFN_UNICODE 2 // UTF-8
144143

145144
// 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;
212211
#define MICROPY_PY_URE_MATCH_SPAN_START_END (CIRCUITPY_RE)
213212
#define MICROPY_PY_URE_SUB (CIRCUITPY_RE)
214213

214+
#ifndef MICROPY_FATFS_EXFAT
215+
#define MICROPY_FATFS_EXFAT (CIRCUITPY_FULL_BUILD)
216+
#endif
217+
215218
// LONGINT_IMPL_xxx are defined in the Makefile.
216219
//
217220
#ifdef LONGINT_IMPL_NONE

0 commit comments

Comments
 (0)