30 lines
909 B
Markdown
30 lines
909 B
Markdown
Wallas DT/GB Heater Controller on an ESP32C3
|
|
============================================
|
|
|
|
## Getting Started
|
|
|
|
As described in the chapter on Risc-V target installation in the [Rust on ESP Book](https://docs.esp-rs.org/book/installation/riscv.html),
|
|
you should install the ESP32c3 target for your rust toolchain by doing:
|
|
|
|
```bash
|
|
rustup toolchain install stable --component rust-src
|
|
rustup target add riscv32imc-unknown-none-elf
|
|
```
|
|
|
|
Now checkout this project.
|
|
It is advised to run the `--release` version of the application, thus to build and run, do:
|
|
|
|
```bash
|
|
cargo build --release
|
|
cargo run --release
|
|
```
|
|
|
|
Currently the application will not discover wireless network and do configuration of it; a known network, along with
|
|
encryption key is compiled into it - therefore, before building, run this and set the information: network name, network password
|
|
and desired log level:
|
|
|
|
```bash
|
|
. ./set-env.sh
|
|
```
|
|
|