diff options
| author | Jeff Epler <jepler@unpythonic.net> | 2021-03-07 09:20:50 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@unpythonic.net> | 2021-03-07 09:37:18 -0600 |
| commit | 156ee4833ab170d598991fd8d4d6f6d04c759744 (patch) | |
| tree | 90e878591589572cc3e74dcd7daf2e87ca7ea413 /py | |
| parent | d2056a46eebe1a4aff6bc7ca925f6f806a6ce2a2 (diff) | |
circuitpy_mpconfig: Disable flash multi-partition
This adds some additional code in mkfs which doesn't seem necessary, and
Disabling it saves 172 bytes flash.
Testing performed: Using a Feather M0 Adalogger, checked that
* an sdcard could still be mounted (using adafruit_sdcard)
* os.listdir() of "/" and "/sd" worked
* CIRCUITPY still mounted
Diffstat (limited to 'py')
| -rw-r--r-- | py/circuitpy_mpconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h index 3eda3b004..ae7885706 100644 --- a/py/circuitpy_mpconfig.h +++ b/py/circuitpy_mpconfig.h @@ -132,7 +132,7 @@ #define MICROPY_FATFS_LFN_CODE_PAGE (437) #define MICROPY_FATFS_USE_LABEL (1) #define MICROPY_FATFS_RPATH (2) -#define MICROPY_FATFS_MULTI_PARTITION (1) +#define MICROPY_FATFS_MULTI_PARTITION (0) // Only enable this if you really need it. It allocates a byte cache of this size. // #define MICROPY_FATFS_MAX_SS (4096) |
