diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 30 |
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 | |||
| 3 | Embassy is a project to make async/await a first-class option for embedded development. | ||
| 4 | |||
| 5 | The `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 | |||
| 11 | The `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 | |||
| 16 | Currently 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 | |||
| 20 | EMBedded ASYnc. | ||
| 21 | |||
| 22 | ## License | ||
| 23 | |||
| 24 | This 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 | |||
| 30 | at your option. | ||
