Browse Source

esp8266: Enable and freeze uasyncio.

Only included in GENERIC build.
pull/5332/head
Damien George 5 years ago
parent
commit
1d4d688b3b
  1. 2
      ports/esp8266/boards/GENERIC/manifest.py
  2. 1
      ports/esp8266/boards/GENERIC/mpconfigboard.h
  3. 2
      ports/esp8266/boards/GENERIC/mpconfigboard.mk
  4. 4
      ports/esp8266/boards/manifest_release.py

2
ports/esp8266/boards/GENERIC/manifest.py

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

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

2
ports/esp8266/boards/GENERIC/mpconfigboard.mk

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

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

Loading…
Cancel
Save