From bfc8e88ce165fc3d25dd12e6dc6853d3c8cd4a5e Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 4 Aug 2021 15:35:00 +1000 Subject: [PATCH] esp32/mpconfigport.h: Enable reverse and inplace special methods. Reverse operations are supported on stm32 and rp2, and esp32 has enough space to also enable inplace operations, to make it complete. Signed-off-by: Jim Mussared --- ports/esp32/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h index 46d8a38af1..d60e2823df 100644 --- a/ports/esp32/mpconfigport.h +++ b/ports/esp32/mpconfigport.h @@ -82,6 +82,8 @@ #define MICROPY_PY_BUILTINS_RANGE_ATTRS (1) #define MICROPY_PY_BUILTINS_ROUND_INT (1) #define MICROPY_PY_ALL_SPECIAL_METHODS (1) +#define MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS (1) +#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_BUILTINS_COMPILE (1) #define MICROPY_PY_BUILTINS_ENUMERATE (1) #define MICROPY_PY_BUILTINS_EXECFILE (1)