1 unstable release

0.1.0 Nov 22, 2023

#5 in #esp32-c3

GPL-3.0-or-later

37KB
661 lines

d3xs-firmware

Firmware for esp32c3 microcontroller (riscv32imc-esp-espidf).

Building and testing the firmware

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

Unit testing

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

Dependencies

~4–14MB
~175K SLoC