summaryrefslogtreecommitdiff
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-27 17:13:47 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-27 17:13:47 +0300
commit374654f2b850b8fe84e21189e75e9d5f7f62203c (patch)
tree8b2c85f6921ea852b2fa518fc29cd7924d71cc8c /esp8266/mpconfigport.h
parentfe9bc0c573edda04260545375cb01c3e06bc54df (diff)
esp8266: Enable FatFs support.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index aee1220f6..40d51e38d 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -59,6 +59,14 @@
#define MICROPY_MODULE_FROZEN (1)
#define MICROPY_MODULE_FROZEN_LEXER mp_lexer_new_from_str32
+#define MICROPY_FATFS_ENABLE_LFN (1)
+#define MICROPY_FATFS_RPATH (2)
+#define MICROPY_FATFS_VOLUMES (2)
+#define MICROPY_FATFS_MAX_SS (4096)
+#define MICROPY_FATFS_LFN_CODE_PAGE (437) /* 1=SFN/ANSI 437=LFN/U.S.(OEM) */
+#define MICROPY_FSUSERMOUNT (1)
+#define MICROPY_VFS_FAT (1)
+
#define MICROPY_EVENT_POLL_HOOK {ets_event_poll();}
// type definitions for the specific machine