Trivial network-controlled plugs
.cargo | ||
nix | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
LICENSE | ||
memory.x | ||
openocd.gdb | ||
README.md | ||
release.nix | ||
shell.nix |
Trivial network-controlled plugs
Instructions
Build the firmware with default.nix
:
nix-build
- This uses cargo-vendor to bundle dependencies, so that unstable versions from git can be used.
- Run
result/bin/flash-tnetplug
to flash a devboard with OpenOCD and quit.
Development environment with shell.nix
:
nix-shell
- Spawning
openocd
, the devboard should be connected already. - Instructions (
cargo run --release
) are printed.