From 2bee8e1b8cdaae0ac387c03e88a573e35256b092 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 1 Dec 2024 08:59:32 +0100 Subject: [PATCH] mimxrt/mpconfigport: Update FATFS config to align with other ports. Make this port use the same FATFS config as stm32, rp2, renesas-ra. Signed-off-by: iabdalkader --- ports/mimxrt/mpconfigport.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index 31444e498..146c86015 100644 --- a/ports/mimxrt/mpconfigport.h +++ b/ports/mimxrt/mpconfigport.h @@ -118,10 +118,12 @@ uint32_t trng_random_u32(void); #define MICROPY_PY_ONEWIRE (1) // fatfs configuration used in ffconf.h -#define MICROPY_FATFS_ENABLE_LFN (1) -#define MICROPY_FATFS_RPATH (2) -#define MICROPY_FATFS_MAX_SS (4096) +#define MICROPY_FATFS_ENABLE_LFN (2) #define MICROPY_FATFS_LFN_CODE_PAGE 437 /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */ +#define MICROPY_FATFS_USE_LABEL (1) +#define MICROPY_FATFS_RPATH (2) +#define MICROPY_FATFS_MULTI_PARTITION (1) +#define MICROPY_FATFS_MAX_SS (4096) #ifndef MICROPY_PY_NETWORK #define MICROPY_PY_NETWORK (1)