diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-22 23:17:17 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-26 01:25:46 +1100 |
commit | ad004db662b383a9bf310601e13e896c99e11e30 (patch) | |
tree | d502417b1682bc0d9e3dd8d25e113f6339b908bc | |
parent | 1d4d688b3b251120f5827a3605ec232d977eaa0f (diff) |
esp32: Enable and freeze uasyncio.
-rw-r--r-- | ports/esp32/boards/manifest.py | 1 | ||||
-rw-r--r-- | ports/esp32/mpconfigport.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/esp32/boards/manifest.py b/ports/esp32/boards/manifest.py index bbd907a0e..b463c131f 100644 --- a/ports/esp32/boards/manifest.py +++ b/ports/esp32/boards/manifest.py @@ -3,4 +3,5 @@ freeze("$(MPY_DIR)/tools", ("upip.py", "upip_utarfile.py")) freeze("$(MPY_DIR)/ports/esp8266/modules", "ntptime.py") freeze("$(MPY_DIR)/drivers/dht", "dht.py") freeze("$(MPY_DIR)/drivers/onewire") +include("$(MPY_DIR)/extmod/uasyncio/manifest.py") include("$(MPY_DIR)/extmod/webrepl/manifest.py") diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h index 3b6fb37b4..32968eed2 100644 --- a/ports/esp32/mpconfigport.h +++ b/ports/esp32/mpconfigport.h @@ -125,6 +125,7 @@ #define MICROPY_PY_THREAD_GIL_VM_DIVISOR (32) // extended modules +#define MICROPY_PY_UASYNCIO (1) #define MICROPY_PY_UCTYPES (1) #define MICROPY_PY_UZLIB (1) #define MICROPY_PY_UJSON (1) |