Skip to content

card-io-ecg/card-io-fw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29e822b · Nov 7, 2023
Aug 20, 2023
Sep 30, 2023
Oct 24, 2023
Nov 7, 2023
Nov 6, 2023
Nov 6, 2023
Oct 8, 2023
Sep 10, 2023
Nov 2, 2023
Oct 19, 2023
Sep 30, 2023
Nov 1, 2023
Nov 1, 2023
Nov 2, 2023
Nov 7, 2023
Nov 2, 2023
Jun 1, 2023
Nov 7, 2023
Apr 28, 2023
Aug 3, 2023
Oct 5, 2023
Nov 3, 2023
May 11, 2023
Jun 27, 2023

Repository files navigation

Card/IO firmware

This repository contains the firmware source code for the Card/IO open source ECG device, built with an 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.sh before trying to work with the firmware

  • cargo install cargo-espflash
  • cargo install cargo-watch

Enable External / USB JTAG selector solder bridge

  • pip install esptool
  • python -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: v1, v2. Defaults to the latest version.
  • cargo xcheck <hw>: runs cargo check
  • cargo xclippy <hw>: runs cargo clippy
  • cargo xdoc <hw> [--open]: runs cargo doc and optionally opens the generated documentation.
  • cargo xtest: runs cargo test.
  • cargo example <package> <example> [--watch]: runs an example. Use --watch to enable automatic reload when a file changes.
  • To run the config site on your PC, run cargo example config-site simple --watch and open 127.0.0.1:8080 in a browser.

About

Card/IO device firmware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published