summaryrefslogtreecommitdiff
path: root/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/esp8266.ld1
-rw-r--r--esp8266/esp8266_512k.ld1
-rw-r--r--esp8266/mpconfigport.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/esp8266/esp8266.ld b/esp8266/esp8266.ld
index 546ffd8c5..a6a4b930b 100644
--- a/esp8266/esp8266.ld
+++ b/esp8266/esp8266.ld
@@ -92,6 +92,7 @@ SECTIONS
*py/formatfloat.o*(.literal* .text*)
*py/frozenmod.o*(.literal* .text*)
*py/gc.o*(.literal* .text*)
+ *py/reader*.o*(.literal* .text*)
*py/lexer*.o*(.literal* .text*)
*py/malloc*.o*(.literal* .text*)
*py/map*.o*(.literal* .text*)
diff --git a/esp8266/esp8266_512k.ld b/esp8266/esp8266_512k.ld
index e744d0f46..2bffcab80 100644
--- a/esp8266/esp8266_512k.ld
+++ b/esp8266/esp8266_512k.ld
@@ -92,6 +92,7 @@ SECTIONS
*py/formatfloat.o*(.literal* .text*)
*py/frozenmod.o*(.literal* .text*)
*py/gc.o*(.literal* .text*)
+ *py/reader*.o*(.literal* .text*)
*py/lexer*.o*(.literal* .text*)
*py/malloc*.o*(.literal* .text*)
*py/map*.o*(.literal* .text*)
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 602b3e9c8..adbec5d0d 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -16,6 +16,7 @@
#define MICROPY_MEM_STATS (0)
#define MICROPY_DEBUG_PRINTERS (1)
#define MICROPY_DEBUG_PRINTER_DEST mp_debug_print
+#define MICROPY_READER_FATFS (1)
#define MICROPY_ENABLE_GC (1)
#define MICROPY_STACK_CHECK (1)
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)