summaryrefslogtreecommitdiff
path: root/esp8266/mpconfigport_512k.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-10-25 00:37:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-10-25 00:43:11 +0300
commit2550d7dfd2e9032474a33d8208868f42680c5863 (patch)
tree611f9fc1eb580428baed759ea3c548846d4d4b42 /esp8266/mpconfigport_512k.h
parentb78144c64d71e8b850a0fd7051bcaa9ee0cce8dd (diff)
esp8266: Add support for building firmware version for 512K modules.
To build, "make 512k". Disabled are FatFs support (no space for filesystem), Python functionality related to files, btree module, and recently enabled features. With all this, there's only one free FlashROM page.
Diffstat (limited to 'esp8266/mpconfigport_512k.h')
-rw-r--r--esp8266/mpconfigport_512k.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/esp8266/mpconfigport_512k.h b/esp8266/mpconfigport_512k.h
new file mode 100644
index 000000000..f0de6035f
--- /dev/null
+++ b/esp8266/mpconfigport_512k.h
@@ -0,0 +1,19 @@
+#include <mpconfigport.h>
+
+#undef MICROPY_FSUSERMOUNT
+#define MICROPY_FSUSERMOUNT (0)
+#undef MICROPY_VFS_FAT
+#define MICROPY_VFS_FAT (0)
+
+#undef MICROPY_PERSISTENT_CODE_LOAD
+#define MICROPY_PERSISTENT_CODE_LOAD (0)
+
+#undef MICROPY_PY_IO_FILEIO
+#define MICROPY_PY_IO_FILEIO (0)
+
+#undef MICROPY_PY_SYS_STDIO_BUFFER
+#define MICROPY_PY_SYS_STDIO_BUFFER (0)
+#undef MICROPY_PY_BUILTINS_SLICE_ATTRS
+#define MICROPY_PY_BUILTINS_SLICE_ATTRS (0)
+#undef MICROPY_PY_ALL_SPECIAL_METHODS
+#define MICROPY_PY_ALL_SPECIAL_METHODS (0)