diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index c24c2cc1137fea22cc2b3aa7a7338cc7ca3309f8..59169c2165d6bfadfeb7bff427b39953f8ecbce9 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -35,6 +35,9 @@
 #define MICROPY_PY_SYS              (1)
 #define MICROPY_PY_SYS_EXIT         (1)
 #define MICROPY_PY_SYS_STDFILES     (1)
+#define MICROPY_PY_UBINASCII        (1)
+#define MICROPY_PY_UCTYPES          (1)
+#define MICROPY_PY_UJSON            (1)
 #define MICROPY_CPYTHON_COMPAT      (0)
 #define MICROPY_LONGINT_IMPL        (MICROPY_LONGINT_IMPL_MPZ)
 #define MICROPY_FLOAT_IMPL          (MICROPY_FLOAT_IMPL_FLOAT)