summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-07-08 23:04:01 +1000
committerDamien George <damien@micropython.org>2022-07-08 23:06:16 +1000
commit9f8087b448890417d5aa86551957a2100616bb8e (patch)
treea566d0d495ef6a3a459e8d7f3a73d083a1397fd7
parentd7a162516e0a85ae9aa571813bb78428db56a93e (diff)
esp8266/boards: Enable reverse-special-methods on GENERIC board.
It increases the firmware size by 292 bytes. Addresses issue #5897. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/esp8266/boards/GENERIC_1M/mpconfigboard.h1
-rw-r--r--ports/esp8266/boards/GENERIC_512K/mpconfigboard.h1
-rw-r--r--ports/esp8266/mpconfigport.h1
3 files changed, 2 insertions, 1 deletions
diff --git a/ports/esp8266/boards/GENERIC_1M/mpconfigboard.h b/ports/esp8266/boards/GENERIC_1M/mpconfigboard.h
index 10e8adcda..cf5127686 100644
--- a/ports/esp8266/boards/GENERIC_1M/mpconfigboard.h
+++ b/ports/esp8266/boards/GENERIC_1M/mpconfigboard.h
@@ -12,5 +12,6 @@
#define MICROPY_VFS (1)
#define MICROPY_PY_FSTRINGS (0)
+#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define MICROPY_PY_UASYNCIO (0)
#define MICROPY_PY_UCRYPTOLIB (1)
diff --git a/ports/esp8266/boards/GENERIC_512K/mpconfigboard.h b/ports/esp8266/boards/GENERIC_512K/mpconfigboard.h
index ef37e22fb..b0adb7081 100644
--- a/ports/esp8266/boards/GENERIC_512K/mpconfigboard.h
+++ b/ports/esp8266/boards/GENERIC_512K/mpconfigboard.h
@@ -6,6 +6,7 @@
#define MICROPY_PY_FSTRINGS (0)
#define MICROPY_PY_BUILTINS_SLICE_ATTRS (0)
#define MICROPY_PY_ALL_SPECIAL_METHODS (0)
+#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define MICROPY_PY_SYS_STDIO_BUFFER (0)
#define MICROPY_PY_UASYNCIO (0)
#define MICROPY_PY_URE_SUB (0)
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index c78ae3ce0..7727f7845 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -26,7 +26,6 @@
#define MICROPY_PY_BUILTINS_STR_PARTITION (0)
#define MICROPY_PY_BUILTINS_STR_SPLITLINES (0)
#define MICROPY_PY_BUILTINS_SLICE_INDICES (0)
-#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define MICROPY_PY_BUILTINS_COMPILE (0)
#define MICROPY_PY_BUILTINS_EXECFILE (0)
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)