这里是 https://github.com/esp-rs/std-training 的简体中文翻译
目前进度:已经翻译完成,跟踪到 015cd3d
这个仓库包含了在 Espressif ESP32-C3 上使用嵌入式 Rust 的学习材料。
我们推荐你通过阅读 这本书 来开始学习。
包括:
- 一本你可以通读的书 - (源代码) (网页)
- 一些入门级的例子:
- 一些高级例子:
- 一些通用 crates:
get-uuid
- 提供一个编译期生成的 UUIDmqtt-messages
- MQTT 辅助函数rgb-led
- 提供对 RGB LED(WS2812)的支持wifi
- Wifi 辅助函数
这里提供的每一个 Rust 示例 crate 都可以以通常的方式构建。 细节信息请参阅 Embedded Rust Bookshelf 或每个 crate 的 README.md。
这本书使用 Markdown 编写, 使用 mdbook。 你可以通过运行以下命令来渲染一个本地副本:
~ $ cargo install mdbook
~ $ git clone https://github.com/Narukara/std-training-zh-cn.git
~ $ cd std-training-zh-cn/book
~/std-training-zh-cn/book $ mdbook serve
一个本地的 web 服务器会在 http://127.0.0.1:3000 上启动, 你可以在这里阅读渲染得到的书。 当你修改硬盘上的 Markdown 文件时,它会自动更新。
Note that you must not push to the main
branch. Instead undertake any
changes in a branch, either in this repository (if you have access) or in a
fork. Please do then feel free to open a Pull Request in Github to merge the
changes to our main
branch.
This work is continually updated and as such there are no 'releases'. Every
commit to main
gets published to
https://esp-rs.github.io/std-training automatically.
The material in this repository is licensed CC BY-SA 4.0. All material is Copyright 2022 Ferrous Systems GmbH, unless otherwise stated.
You are free to Share and Adapt but you must give Attribution and Share Alike.
In addition, the source code contained within this repository (either in the book, or as separate examples) is made available under either the MIT or Apache-2.0 licenses, at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
The content of this training was created by Ferrous Systems GmbH and Espressif Systems.
Contribution to this crate is organized under the terms of the Rust Code of Conduct, and the maintainers of this crate promises to intervene to uphold that code of conduct.