esp8266: Enable and freeze uasyncio.

Only included in GENERIC build.
This commit is contained in:
Damien George 2020-03-22 23:16:37 +11:00
parent 35e2dd0979
commit 1d4d688b3b
4 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1,2 @@
include("$(PORT_DIR)/boards/manifest.py")
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")

View File

@ -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)

View File

@ -1 +1,3 @@
MICROPY_VFS_FAT = 1
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py

View File

@ -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")