From 35e2dd0979f80df8cb5fbb22a9766ee13d4ef437 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 21 Mar 2020 22:26:02 +1100 Subject: [PATCH] stm32: Enable and freeze uasyncio. --- ports/stm32/boards/manifest.py | 1 + ports/stm32/mpconfigport.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ports/stm32/boards/manifest.py b/ports/stm32/boards/manifest.py index 3390773236..81b8583410 100644 --- a/ports/stm32/boards/manifest.py +++ b/ports/stm32/boards/manifest.py @@ -1,3 +1,4 @@ +include("$(MPY_DIR)/extmod/uasyncio/manifest.py") freeze("$(MPY_DIR)/drivers/dht", "dht.py") freeze("$(MPY_DIR)/drivers/display", ("lcd160cr.py", "lcd160cr_test.py")) freeze("$(MPY_DIR)/drivers/onewire", "onewire.py") diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index 95442b6476..a7baa34956 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -134,6 +134,7 @@ #endif // extended modules +#define MICROPY_PY_UASYNCIO (1) #define MICROPY_PY_UCTYPES (1) #define MICROPY_PY_UZLIB (1) #define MICROPY_PY_UJSON (1)