aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2020-09-22 18:03:43 +0200
committerDario Nieuwenhuis <[email protected]>2020-09-22 18:03:43 +0200
commit9a57deef9b531b8dae9d98a5accf5aeb128ab86d (patch)
treeb1e118334fc555167e72595dfb97982e5f9ca630 /README.md
First commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 000000000..ffa60a864
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
1# Embassy
2
3Embassy is a project to make async/await a first-class option for embedded development.
4
5The `embassy` crate defines some traits.
6
7- `embassy::io`: Traits for byte-stream IO, essentially `no_std` compatible versions of `futures::io`.
8- `embassy::flash`: Trait for an async flash device.
9- More traits for SPI, I2C, UART async HAL coming soon.
10
11The `embassy-nrf` crate contains implementations for nRF 52 series SoCs.
12
13- `uarte`: UARTE driver implementing `AsyncBufRead` and `AsyncWrite`.
14- `qspi`: QSPI driver implementing `Flash`.
15
16Currently Embassy requires a recent nightly, mainly for `generic_associated_types` (for trait funcs returning futures) and `type_alias_impl_trait` (for returning futures implemented with `async{}` blocks). Stable support is a non-goal.
17
18## Why the name?
19
20EMBedded ASYnc.
21
22## License
23
24This work is licensed under either of
25
26- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
27 http://www.apache.org/licenses/LICENSE-2.0)
28- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
29
30at your option.