py: Add MICROPY_PY_BUILTINS_ENUMERATE, disable for minimal ports.
diff --git a/py/mpconfig.h b/py/mpconfig.h
index b2f37e9..4065c68 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -459,6 +459,11 @@
#define MICROPY_PY_BUILTINS_COMPILE (0)
#endif
+// Whether to support enumerate function(type)
+#ifndef MICROPY_PY_BUILTINS_ENUMERATE
+#define MICROPY_PY_BUILTINS_ENUMERATE (1)
+#endif
+
// Whether to support the Python 2 execfile function
#ifndef MICROPY_PY_BUILTINS_EXECFILE
#define MICROPY_PY_BUILTINS_EXECFILE (0)