Skip to content

Commit 6549e81

Browse files
committed
Finish removal of V2 relics.
1 parent e7a4752 commit 6549e81

File tree

3 files changed

+10
-721
lines changed

3 files changed

+10
-721
lines changed

README.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,24 @@
11
# Asynchronous programming in MicroPython
22

33
CPython supports asynchronous programming via the `asyncio` library.
4-
MicroPython provides `uasyncio` which is a subset of this, optimised for small
4+
MicroPython provides `asyncio` which is a subset of this, optimised for small
55
code size and high performance on bare metal targets. This repository provides
66
documentation, tutorial material and code to aid in its effective use.
77

8-
# uasyncio version 3
8+
# asyncio version 3
99

10-
Damien has completely rewritten `uasyncio` which was released as V3.0. See
11-
[PR5332](https://github.com/micropython/micropython/pull/5332). This is now
12-
incorporated in release build V1.13 and subsequent daily builds.
10+
Damien has completely rewritten `asyncio` which was released as V3.0. This is
11+
incorporated in all recent firmware builds. The resources in this repo may be found in the
12+
`v3` directory. These include a tutorial, synchronisation primitives, drivers,
13+
applications and demos.
1314

14-
Resources for V3 may be found in the `v3` directory. These include a guide to
15-
porting applications from V2, an updated tutorial, synchronisation primitives
16-
and various applications and demos.
15+
# Concurrency
1716

18-
V2 should now be regarded as obsolete for almost all applications with the
19-
possible exception mentioned below.
17+
Other documents provide hints on asynchronous programming techniques including
18+
threading and multi-core coding.
2019

2120
### [Go to V3 docs](./v3/README.md)
2221

2322
# uasyncio version 2
2423

25-
The official version 2 is entirely superseded by V3, which improves on it in
26-
every respect.
27-
28-
I produced a modified `fast_io` variant of V2 which is in use for some
29-
specialist purposes. It enables I/O to be scheduled at high priority. Currently
30-
this schedules I/O significantly faster than V3; the maintainers plan to
31-
improve `uasyncio` I/O scheduling. When this is complete I intend to delete all
32-
V2 material.
33-
34-
All V2 resources are in the V2 subdirectory: [see this README](./v2/README.md).
24+
This is obsolete: code and docs have been removed.

aswitch.py

Lines changed: 0 additions & 231 deletions
This file was deleted.

0 commit comments

Comments
 (0)