Trivial network-controlled plugs
Go to file
2019-12-01 17:04:00 +08:00
.cargo use NixOS 19.03 multiarch gdb instead of custom build 2019-04-12 17:14:38 +08:00
nix first tnetplug version 2019-12-01 17:03:02 +08:00
src first tnetplug version 2019-12-01 17:03:02 +08:00
.gitignore create nix build infrastructure 2019-03-07 16:27:33 +01:00
build.rs create nix build infrastructure 2019-03-07 16:27:33 +01:00
Cargo.lock first tnetplug version 2019-12-01 17:03:02 +08:00
Cargo.toml first tnetplug version 2019-12-01 17:03:02 +08:00
default.nix first tnetplug version 2019-12-01 17:03:02 +08:00
LICENSE LICENSE: add GPL-3 2019-03-18 21:47:18 +01:00
memory.x memory.x: fix RAM2 region, place stack in CCMRAM 2019-03-12 22:52:52 +01:00
openocd.gdb gdb with cargo run 2019-03-19 17:16:45 +01:00
README.md README: fix formatting 2019-12-01 17:04:00 +08:00
release.nix first tnetplug version 2019-12-01 17:03:02 +08:00
shell.nix first tnetplug version 2019-12-01 17:03:02 +08:00

Trivial network-controlled plugs

Instructions

Made for NixOS

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.