https://github.com/tiacsys/eos-sensor
https://github.com/tiacsys/eos-sensor
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tiacsys/eos-sensor
- Owner: tiacsys
- Created: 2024-05-07T04:51:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T05:57:51.000Z (over 1 year ago)
- Last Synced: 2025-02-18T06:34:04.875Z (over 1 year ago)
- Language: Rust
- Size: 88.9 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.