From 1e2cf746d40cbd36b088dfaf4ba008962290209a Mon Sep 17 00:00:00 2001 From: mux Date: Sat, 22 Feb 2014 22:09:00 +0200 Subject: Add Configurable LFN support to FatFS --- stm/mpconfigport.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'stm/mpconfigport.h') diff --git a/stm/mpconfigport.h b/stm/mpconfigport.h index c5614f4bb..66337a772 100644 --- a/stm/mpconfigport.h +++ b/stm/mpconfigport.h @@ -8,6 +8,14 @@ #define MICROPY_ENABLE_REPL_HELPERS (1) #define MICROPY_ENABLE_FLOAT (1) #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 -- cgit v1.2.3