aboutsummaryrefslogtreecommitdiff
path: root/stm/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/mpconfigport.h')
-rw-r--r--stm/mpconfigport.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/stm/mpconfigport.h b/stm/mpconfigport.h
index 33ebae8fb..9cbda9c6c 100644
--- a/stm/mpconfigport.h
+++ b/stm/mpconfigport.h
@@ -9,6 +9,14 @@
#define MICROPY_ENABLE_FLOAT (1)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_PATH_MAX (128)
+/* Enable FatFS LFNs
+ 0: Disable LFN feature.
+ 1: Enable LFN with static working buffer on the BSS. Always NOT reentrant.
+ 2: Enable LFN with dynamic working buffer on the STACK.
+ 3: Enable LFN with dynamic working buffer on the HEAP.
+*/
+#define MICROPY_ENABLE_LFN (0)
+#define MICROPY_LFN_CODE_PAGE (1) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */
// type definitions for the specific machine