Skip to content

wot-rust/wot-esp-demo

Repository files navigation

wot-esp-demo

dependency status LICENSE LICENSE

Demo Hygro-Thermometer based on the esp-rust-board.

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.