diff --git a/python/port/genhdr/qstrdefs.in.h b/python/port/genhdr/qstrdefs.in.h index 5c2c32966..98ab81234 100644 --- a/python/port/genhdr/qstrdefs.in.h +++ b/python/port/genhdr/qstrdefs.in.h @@ -181,6 +181,7 @@ Q(format) Q(frexp) Q(from_bytes) Q(fromkeys) +Q(frozenset) Q(function) Q(gamma) Q(generator) diff --git a/python/port/mpconfigport.h b/python/port/mpconfigport.h index 74726e038..3fd89d9a4 100644 --- a/python/port/mpconfigport.h +++ b/python/port/mpconfigport.h @@ -44,6 +44,9 @@ // Whether to support bytearray object #define MICROPY_PY_BUILTINS_BYTEARRAY (0) +// Whether to support frozenset object +#define MICROPY_PY_BUILTINS_FROZENSET (1) + // Whether to support property object #define MICROPY_PY_BUILTINS_PROPERTY (0)