summaryrefslogtreecommitdiff
path: root/extmod/uasyncio/manifest.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-07-15 23:46:28 +1000
committerDamien George <damien@micropython.org>2022-09-05 18:43:18 +1000
commit203dae41fbaceeea9a04dc540b22de4ddd0d5a69 (patch)
tree7b3d99a3bc54ed0f6c1e1d4bf2ae8d42fde7c420 /extmod/uasyncio/manifest.py
parentccd210984e7a959694b2af4937ce953a822c2ea5 (diff)
all: Update all manifest.py files to use new features.
Changes in this commit: - Manifest include's now use the directory path where possible (no longer necessary to include the manifest.py file explicitly). - Add manifest.py for all drivers and components that are referenced by port/board manifests. - Replace all uses of freeze() with package()/module(), except for port and board modules. - Use opt=3 everywhere, for consistency and to reduce code size. - Use require() instead of include() for all micropython-lib references. - Remove support for optional board-level manifest.py in mimxrt port, to make it behave the same as other ports (the board must set FROZEN_MANIFEST to a custom manifest.py, which can optionally include the default, port-level manifest). - Also reinstates modules that were accidentally removed from the esp8266 512k build in fbe9417b90474dd1a08749b3a79311a8007a98fb. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/uasyncio/manifest.py')
-rw-r--r--extmod/uasyncio/manifest.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/extmod/uasyncio/manifest.py b/extmod/uasyncio/manifest.py
index f5fa27bfc..d425a467b 100644
--- a/extmod/uasyncio/manifest.py
+++ b/extmod/uasyncio/manifest.py
@@ -1,13 +1,15 @@
-# This list of frozen files doesn't include task.py because that's provided by the C module.
-freeze(
- "..",
+# This list of package files doesn't include task.py because that's provided
+# by the C module.
+package(
+ "uasyncio",
(
- "uasyncio/__init__.py",
- "uasyncio/core.py",
- "uasyncio/event.py",
- "uasyncio/funcs.py",
- "uasyncio/lock.py",
- "uasyncio/stream.py",
+ "__init__.py",
+ "core.py",
+ "event.py",
+ "funcs.py",
+ "lock.py",
+ "stream.py",
),
+ base_path="..",
opt=3,
)