aboutsummaryrefslogtreecommitdiff
path: root/ports/esp8266
diff options
context:
space:
mode:
authorDamien George2018-06-08 12:23:08 +1000
committerDamien George2018-06-08 12:23:08 +1000
commit93150a0d40a6f29907d53bba8a4a44f1c5fb2449 (patch)
treed040a2d2e069112ac2ab1cf8a932f88cf52b7fef /ports/esp8266
parent36c105218321167d47b0fb67575a7cddc36d17e7 (diff)
ports: Enable descriptors on stm32, esp8266, esp32 ports.
They are now efficient (in runtime performance) and provide a useful feature that's hard to obtain without them enabled. See issue #3644 and PR #3826 for background.
Diffstat (limited to 'ports/esp8266')
-rw-r--r--ports/esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp8266/mpconfigport.h b/ports/esp8266/mpconfigport.h
index ff45f86ae..8a800f017 100644
--- a/ports/esp8266/mpconfigport.h
+++ b/ports/esp8266/mpconfigport.h
@@ -30,6 +30,7 @@
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_USE_INTERNAL_ERRNO (1)
#define MICROPY_ENABLE_SCHEDULER (1)
+#define MICROPY_PY_DESCRIPTORS (1)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
#define MICROPY_PY_BUILTINS_COMPLEX (0)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)