summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/esp8266/boards/GENERIC/manifest.py2
-rw-r--r--ports/esp8266/boards/GENERIC/mpconfigboard.h1
-rw-r--r--ports/esp8266/boards/GENERIC/mpconfigboard.mk2
-rw-r--r--ports/esp8266/boards/manifest_release.py4
4 files changed, 5 insertions, 4 deletions
diff --git a/ports/esp8266/boards/GENERIC/manifest.py b/ports/esp8266/boards/GENERIC/manifest.py
new file mode 100644
index 000000000..4e65b256f
--- /dev/null
+++ b/ports/esp8266/boards/GENERIC/manifest.py
@@ -0,0 +1,2 @@
+include("$(PORT_DIR)/boards/manifest.py")
+include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
diff --git a/ports/esp8266/boards/GENERIC/mpconfigboard.h b/ports/esp8266/boards/GENERIC/mpconfigboard.h
index 8f0505d07..d33943df8 100644
--- a/ports/esp8266/boards/GENERIC/mpconfigboard.h
+++ b/ports/esp8266/boards/GENERIC/mpconfigboard.h
@@ -15,6 +15,7 @@
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
#define MICROPY_PY_IO_FILEIO (1)
#define MICROPY_PY_SYS_STDIO_BUFFER (1)
+#define MICROPY_PY_UASYNCIO (1)
#define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_UCRYPTOLIB (1)
#define MICROPY_PY_FRAMEBUF (1)
diff --git a/ports/esp8266/boards/GENERIC/mpconfigboard.mk b/ports/esp8266/boards/GENERIC/mpconfigboard.mk
index 86593ff60..820f073d9 100644
--- a/ports/esp8266/boards/GENERIC/mpconfigboard.mk
+++ b/ports/esp8266/boards/GENERIC/mpconfigboard.mk
@@ -1 +1,3 @@
MICROPY_VFS_FAT = 1
+
+FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
diff --git a/ports/esp8266/boards/manifest_release.py b/ports/esp8266/boards/manifest_release.py
index ab86fa3ef..5a3194ae9 100644
--- a/ports/esp8266/boards/manifest_release.py
+++ b/ports/esp8266/boards/manifest_release.py
@@ -6,10 +6,6 @@ freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
# file utilities
freeze("$(MPY_LIB_DIR)/upysh", "upysh.py")
-# uasyncio
-freeze("$(MPY_LIB_DIR)/uasyncio", "uasyncio/__init__.py")
-freeze("$(MPY_LIB_DIR)/uasyncio.core", "uasyncio/core.py")
-
# requests
freeze("$(MPY_LIB_DIR)/urequests", "urequests.py")
freeze("$(MPY_LIB_DIR)/urllib.urequest", "urllib/urequest.py")