Crates.io | d3xs-firmware |
lib.rs | d3xs-firmware |
version | 0.1.0 |
source | src |
created_at | 2023-11-22 20:09:20.67456 |
updated_at | 2023-11-22 20:09:20.67456 |
description | Physical access control (firmware) |
homepage | |
repository | https://github.com/kpcyrd/d3xs |
max_upload_size | |
id | 1045480 |
size | 64,452 |
Firmware for esp32c3
microcontroller (riscv32imc-esp-espidf).
For basic usage refer to the regular README in the parent directory.
For development you can use this command to compile the firmware, flash it to an attached esp32c3 and open the serial monitor after flashing:
cd firmware
D3XS_BRIDGE_KEY="cW49lkXDeM0wOT8N7QxAWePmWs8xZK1FXt1uQT/pcG4=" RUSTC_BOOTSTRAP=1 cargo espflash flash --release -M
For development, run these from outside of the firmware directory. This is to avoid loading the firmware configuration from firmware/.cargo/
.
cargo watch -- cargo test -p d3xs-firmware
cargo check -p d3xs-firmware --lib
cargo clippy -p d3xs-firmware --lib