No description
- Rust 97.1%
- HTML 2.9%
|
|
||
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| .vscode | ||
| ads129x | ||
| bad-server | ||
| config-site | ||
| device-descriptor | ||
| embassy-alloc-taskpool | ||
| gui | ||
| logger | ||
| macros | ||
| max17055 | ||
| register-access | ||
| signal-processing | ||
| src | ||
| xtask | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE-MIT | ||
| partitions.csv | ||
| README.md | ||
| rustfmt.toml | ||
Card/IO firmware
This repository contains the firmware source code for the Card/IO open source ECG device, built with an ESP32-C6 or ESP32-S3 MCU.
This firmware is in its early stages of development.
Setup
Tools you need to build the firmware:
- Espressif's Xtensa-enabled rust compiler - espup
Make sure to run
. ~/export-esp.shbefore trying to work with the firmware cargo install cargo-espflashcargo install cargo-watch
Enable External / USB JTAG selector solder bridge
pip install esptoolpython -m espefuse burn_efuse --port COM4 STRAP_JTAG_SEL 1
Commands
cargo xtask -h: Prints information about available commands. Most of the commands have short aliasses, listed below.cargo xbuild <hw>: Build the firmware for a<hw>version board.cargo xrun <hw>: Build and run the firmware on a<hw>version board.cargo monitor: Connect to the Card/IO device and display serial output.<hw>can be omitted, or one of:v4,v6s3,v6c6. Defaults tov6c6.cargo xcheck <hw>: runscargo checkcargo xclippy <hw>: runscargo clippycargo xdoc <hw> [--open]: runscargo docand optionally opens the generated documentation.cargo xtest: runscargo test.cargo example <package> <example> [--watch]: runs an example. Use--watchto enable automatic reload when a file changes.- To run the config site on your PC, run
cargo example config-site simple --watchand open127.0.0.1:8080in a browser.