py: Add support for start/stop/step attributes of builtin range object.
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 26d2287..bfa4121 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -382,6 +382,12 @@
#define MICROPY_PY_BUILTINS_PROPERTY (1)
#endif
+// Whether to implement the start/stop/step attributes (readback) on
+// the "range" builtin type. Rarely used, and costs ~60 bytes (x86).
+#ifndef MICROPY_PY_BUILTINS_RANGE_ATTRS
+#define MICROPY_PY_BUILTINS_RANGE_ATTRS (1)
+#endif
+
// Whether to support complete set of special methods
// for user classes, otherwise only the most used
#ifndef MICROPY_PY_ALL_SPECIAL_METHODS