py: Add option to disable set() object (enabled by default).
diff --git a/py/mpconfig.h b/py/mpconfig.h
index a72d5c2..77b76bf 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -239,6 +239,11 @@
 /*****************************************************************************/
 /* Fine control over Python builtins, classes, modules, etc                  */
 
+// Whether to support set object
+#ifndef MICROPY_PY_BUILTINS_SET
+#define MICROPY_PY_BUILTINS_SET (1)
+#endif
+
 // Whether to support slice subscript operators and slice object
 #ifndef MICROPY_PY_BUILTINS_SLICE
 #define MICROPY_PY_BUILTINS_SLICE (1)