diff options
| author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2022-02-07 14:38:53 +1100 |
|---|---|---|
| committer | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2022-02-07 14:39:15 +1100 |
| commit | 6f7d6c567f8862e0893da7fd08bd828cc6d054cf (patch) | |
| tree | 5ad1732f86ceb16f7d0f15e1dee60e2190af7f04 | |
| parent | c708262c12cdf9b465e7007cc33cca7044310fcb (diff) | |
windows/uasyncio: Add support for uasyncio to windows dev variant.
| -rw-r--r-- | ports/windows/msvc/sources.props | 1 | ||||
| -rw-r--r-- | ports/windows/variants/dev/manifest.py | 1 | ||||
| -rw-r--r-- | ports/windows/variants/dev/mpconfigvariant.h | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/ports/windows/msvc/sources.props b/ports/windows/msvc/sources.props index 228a96d81..e5109eecc 100644 --- a/ports/windows/msvc/sources.props +++ b/ports/windows/msvc/sources.props @@ -7,6 +7,7 @@ <PyExtModSource Include="$(PyBaseDir)extmod\machine_pinbase.c" /> <PyExtModSource Include="$(PyBaseDir)extmod\machine_pulse.c" /> <PyExtModSource Include="$(PyBaseDir)extmod\machine_signal.c" /> + <PyExtModSource Include="$(PyBaseDir)extmod\moduasyncio.c" /> <PyExtModSource Include="$(PyBaseDir)extmod\modubinascii.c" /> <PyExtModSource Include="$(PyBaseDir)extmod\moductypes.c" /> <PyExtModSource Include="$(PyBaseDir)extmod\moduhashlib.c" /> diff --git a/ports/windows/variants/dev/manifest.py b/ports/windows/variants/dev/manifest.py index 08295fc67..88a6937b4 100644 --- a/ports/windows/variants/dev/manifest.py +++ b/ports/windows/variants/dev/manifest.py @@ -1 +1,2 @@ include("$(PORT_DIR)/variants/manifest.py") +include("$(MPY_DIR)/extmod/uasyncio/manifest.py") diff --git a/ports/windows/variants/dev/mpconfigvariant.h b/ports/windows/variants/dev/mpconfigvariant.h index 09ee689da..abf43a0da 100644 --- a/ports/windows/variants/dev/mpconfigvariant.h +++ b/ports/windows/variants/dev/mpconfigvariant.h @@ -37,3 +37,7 @@ #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) #define MICROPY_PY_BUILTINS_SLICE_INDICES (1) #define MICROPY_PY_USELECT (1) + +#ifndef MICROPY_PY_UASYNCIO +#define MICROPY_PY_UASYNCIO (1) +#endif |
