An open API service indexing awesome lists of open source software.

https://github.com/tiacsys/eos-sensor


https://github.com/tiacsys/eos-sensor

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Eos Sensor Firmware

## Building and flashing

### ESP32 Feather V2:

* Install the `esp` rust toolchain and the `espflash` utility:
```bash
cargo install espup
espup install
cargo install espflash
```

* Bring the toolchain installed this way into `PATH`:
```bash
source ~/export-esp-sh
```

* Build the firmware image:
```bash
cargo build --release
```

* Flash the image onto a board:
```bash
espflash flash target/xtensa-esp32-none-elf/release/eos-sensor
```

* Alternatively, use
```bash
espflash flash --monitor -L defmt target/target/xtensa-esp32-none-elf/release/eos-sensor
```
to flash the image and attach to the device to receive logging output.
`cargo run` is also mapped to this command for more convenient access.