https://github.com/wot-rust/wot-esp-demo
Embedded demo based on esp32-c3
https://github.com/wot-rust/wot-esp-demo
esp32-c3 rust web-of-things wot wot-rust
Last synced: about 1 month ago
JSON representation
Embedded demo based on esp32-c3
- Host: GitHub
- URL: https://github.com/wot-rust/wot-esp-demo
- Owner: wot-rust
- Created: 2023-11-28T13:28:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-11T16:14:55.000Z (5 months ago)
- Last Synced: 2024-11-11T16:36:21.110Z (5 months ago)
- Topics: esp32-c3, rust, web-of-things, wot, wot-rust
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/Apache-2.0.txt
Awesome Lists containing this project
README
# wot-esp-demo
[](https://deps.rs/repo/github/wot-rust/wot-esp-demo)
[![LICENSE][license badge apache]][license apache]
[![LICENSE][license badge mit]][license mit]Demo Hygro-Thermometer based on the [esp-rust-board](https://github.com/esp-rs/esp-rust-board).
- [x] http version based on [std-training](https://github.com/esp-rs/std-training)
# Deploy
## Rust prerequisites
- Install `espflash`, `ldproxy` and `cargo-espflash`
```
$ cargo install espflash ldproxy cargo-espflash
```
- Install a `nightly` rustc at least for now.
```
$ rustup install nightly --component rust-src
```## Distribution specific prerequisites
- Install `clang` and `llvm` with support for RISC-V
- Install `libuv`
Depending on your distribution the package may be `{pkgname}-dev` or `{pkgname}-devel`.## Building and running
- Make sure to connect the board and that its serial/jtag gets detected by your system.
- Populate the `cfg.toml` with the wifi credentials.If the toolchain is correctly installed the usual `cargo build` and `cargo run` will work.
[license apache]: LICENSES/Apache-2.0.txt
[license mit]: LICENSES/MIT.txt[license badge apache]: https://img.shields.io/badge/license-Apache_2.0-blue.svg
[license badge mit]: https://img.shields.io/badge/license-MIT-blue.svg