diff options
| author | Damien George | 2014-02-22 22:36:24 +0000 |
|---|---|---|
| committer | Damien George | 2014-02-22 22:36:24 +0000 |
| commit | ed73fcd7d212aea31a9d8cfa2800d5f2f068370f (patch) | |
| tree | a94b8f2d45100ad381bc71ba0d8f9715432ea314 /stm/mpconfigport.h | |
| parent | 9982f2795dfafca0934dd89982fedec6df75806e (diff) | |
| parent | 1e2cf746d40cbd36b088dfaf4ba008962290209a (diff) | |
Merge pull request #316 from iabdalkader/fatfs_lfn
Add Configurable LFN support to FatFS
Diffstat (limited to 'stm/mpconfigport.h')
| -rw-r--r-- | stm/mpconfigport.h | 8 |
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 |
