You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.cargo | 4 years ago | |
nix | 3 years ago | |
src | 3 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 3 years ago | |
Cargo.toml | 3 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
build.rs | 4 years ago | |
default.nix | 3 years ago | |
memory.x | 4 years ago | |
openocd.gdb | 4 years ago | |
release.nix | 3 years ago | |
shell.nix | 3 years ago |
README.md
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.