summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2024-12-01 08:59:32 +0100
committerDamien George <damien@micropython.org>2024-12-10 11:05:05 +1100
commit2bee8e1b8cdaae0ac387c03e88a573e35256b092 (patch)
tree2a20dd80634426e9b1da48dc8f90266fa23bf5bd
parenta2cdf9a95fea33ade5c608885424d6aae21773f5 (diff)
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 <i.abdalkader@gmail.com>
-rw-r--r--ports/mimxrt/mpconfigport.h6
1 files changed, 4 insertions, 2 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_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)
-#define MICROPY_FATFS_LFN_CODE_PAGE 437 /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */
#ifndef MICROPY_PY_NETWORK
#define MICROPY_PY_NETWORK (1)