diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 269882d0dcc2cd4024a37bd14e27d0ad74a30948..ad11cb4d7e6dc7ed1ac889f814a93719ac75a087 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -38,6 +38,7 @@
 #define MICROPY_PY_ARRAY            (1)
 #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
 #define MICROPY_PY_COLLECTIONS      (1)
+#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
 #define MICROPY_PY_MATH             (1)
 #define MICROPY_PY_CMATH            (0)
 #define MICROPY_PY_IO               (1)