diff options
| author | Damien George | 2018-06-08 12:23:08 +1000 |
|---|---|---|
| committer | Damien George | 2018-06-08 12:23:08 +1000 |
| commit | 93150a0d40a6f29907d53bba8a4a44f1c5fb2449 (patch) | |
| tree | d040a2d2e069112ac2ab1cf8a932f88cf52b7fef /ports/stm32/mpconfigport.h | |
| parent | 36c105218321167d47b0fb67575a7cddc36d17e7 (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/stm32/mpconfigport.h')
| -rw-r--r-- | ports/stm32/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index ecb3596ff..3093e9d8a 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -82,6 +82,7 @@ // control over Python builtins #define MICROPY_PY_FUNCTION_ATTRS (1) +#define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_STR_CENTER (1) #define MICROPY_PY_BUILTINS_STR_PARTITION (1) |
