From 4050281311744ae5946aa1faec8aa75339bcab2b Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Tue, 9 Jun 2020 16:45:30 +1000 Subject: [PATCH] unix: Enable uasyncio on dev variant. --- ports/unix/variants/dev/manifest.py | 3 +++ ports/unix/variants/dev/mpconfigvariant.h | 4 ++++ ports/unix/variants/dev/mpconfigvariant.mk | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 ports/unix/variants/dev/manifest.py diff --git a/ports/unix/variants/dev/manifest.py b/ports/unix/variants/dev/manifest.py new file mode 100644 index 0000000000..92a681116a --- /dev/null +++ b/ports/unix/variants/dev/manifest.py @@ -0,0 +1,3 @@ +include("$(PORT_DIR)/variants/manifest.py") + +include("$(MPY_DIR)/extmod/uasyncio/manifest.py") diff --git a/ports/unix/variants/dev/mpconfigvariant.h b/ports/unix/variants/dev/mpconfigvariant.h index eb65134717..c2b959572a 100644 --- a/ports/unix/variants/dev/mpconfigvariant.h +++ b/ports/unix/variants/dev/mpconfigvariant.h @@ -30,3 +30,7 @@ #define MICROPY_PY_SYS_SETTRACE (1) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) + +#ifndef MICROPY_PY_UASYNCIO +#define MICROPY_PY_UASYNCIO (1) +#endif diff --git a/ports/unix/variants/dev/mpconfigvariant.mk b/ports/unix/variants/dev/mpconfigvariant.mk index bbd30b6238..8a63b233d8 100644 --- a/ports/unix/variants/dev/mpconfigvariant.mk +++ b/ports/unix/variants/dev/mpconfigvariant.mk @@ -1,5 +1,7 @@ PROG ?= micropython-dev +FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py + MICROPY_ROM_TEXT_COMPRESSION = 1 MICROPY_PY_BLUETOOTH = 1