summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 6f92f3d88b..8ef3e62fec 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -100,6 +100,11 @@
#define MICROPY_ALLOC_PATH_MAX (512)
#endif
+// Initial size of module dict
+#ifndef MICROPY_MODULE_DICT_SIZE
+#define MICROPY_MODULE_DICT_SIZE (1)
+#endif
+
/*****************************************************************************/
/* Micro Python emitters */