Commit Graph

270 Commits

Author SHA1 Message Date
Astro 8ab5a8dafc nix/fetchcargo: stub a src/main.rs for the -cargo src 2019-05-09 21:20:13 +02:00
Astro ddebb88c70 nix/channel-rust-nightly.toml: update to 2019-05-09 from 2019-04-18 2019-05-09 21:04:55 +02:00
Astro d7c7d70632 nix: update sha256 2019-05-09 21:04:18 +02:00
Astro 792ed1fdf0 nix: remove git sources for dependencies that are stable now 2019-05-09 21:03:50 +02:00
Astro 155a67c056 nix: custom build phase
buildRustPackage runs
`cargo build --target ${stdenv.hostPlatform.config}` which is wrong. how
did this ever work with nixos 19.03?
2019-05-09 21:00:45 +02:00
Astro c420dcad9e nix/fetchcargo: restrict src to just Cargo.{toml,lock}
should result in less -vendor pkgs in the nix store
2019-05-09 20:58:57 +02:00
Astro 3d844977ef nix: openocd.src = openocd 2019-05-09 20:58:11 +02:00
Astro 2583de36a8 bump dependencies to now stable versions 2019-05-09 20:56:25 +02:00
Astro e6395eaf9d clippy delint 2019-04-27 15:25:27 +02:00
Astro 70236a2060 rust edition 2018 delint 2019-04-27 15:23:50 +02:00
Astro fdcbeae74f nix/channel-rust-nightly.toml: update to 2019-04-18 from 2019-04-02 2019-04-18 18:07:09 +02:00
Sebastien Bourdeauducq a426c5aad7 use NixOS 19.03 multiarch gdb instead of custom build 2019-04-12 17:14:38 +08:00
Astro 4a334465da default.nix: replace $BIN with ${firmwareBinary} 2019-04-05 23:13:49 +02:00
Astro cbfe3a177b default.nix, nix/openocd: replace shell script with makeWrapper 2019-04-05 23:10:16 +02:00
Astro 462c5e2668 nix/channel-rust-nightly.toml: update to 2019-04-02 from 2019-03-24 2019-04-02 16:40:27 +02:00
Astro acb2709783 Cargo.toml: simplify 'panic-abort' dependency 2019-03-25 17:06:40 +01:00
Astro 5abcfae432 nix/adc2tcp: move duplicate sha256 into one variable 2019-03-25 01:33:45 +01:00
Astro db9b50f9c6 nix/channel-rust-nightly.toml: update to 2019-03-24 from 2019-03-19 2019-03-24 20:25:52 +01:00
Astro 985fe03be5 nix: move hydra-build-products to adc2tcp-dist derivation
This should improve reachability of the binary file in the Hydra web
interface.
2019-03-24 18:44:36 +01:00
Sebastien Bourdeauducq 6ae87db7e1 commit missing file 2019-03-22 22:35:38 +08:00
Sebastien Bourdeauducq 3e418a5932 fix gdb.nix invokation 2019-03-22 22:29:56 +08:00
Sebastien Bourdeauducq 7d98fd416c cleanup + build gdb on hydra 2019-03-22 20:34:32 +08:00
Astro cc35c81e55 Cargo.lock: update 2019-03-22 12:59:11 +01:00
Sebastien Bourdeauducq 27e011ccb6 fix cargo hashes 2019-03-22 17:07:10 +08:00
Sebastien Bourdeauducq 4ce1baeb3c release.nix: make top-level nix-expression palatable to Hydra 2019-03-22 16:54:53 +08:00
Astro 7413d3d012 add README 2019-03-21 17:56:06 +01:00
Astro 2d758af9e4 add feature "generate-hwaddr" to generate indivudal MAC addrs from device electronic signature 2019-03-21 17:41:33 +01:00
Astro 22e7a77d80 Cargo.lock: update 2019-03-21 17:41:03 +01:00
Astro 3928005bbf release.nix: runCommand 2019-03-19 23:09:56 +01:00
Astro faab0d4546 release.nix: callPackage 2019-03-19 22:42:13 +01:00
Astro a5cf3c28da nix: fetch rustManifest explicitly by default 2019-03-19 22:24:02 +01:00
Astro bd42bc9129 parameterize the rustManifest file 2019-03-19 22:12:28 +01:00
Astro 6466a8deeb release.nix: use pkgs.lib.hydraJob 2019-03-19 21:47:31 +01:00
Astro 3fa7f7811e release.nix: turn into attrset (Hydra jobset) 2019-03-19 21:36:25 +01:00
Astro b115ee1afc shell.nix: rm obsolete parameter 2019-03-19 21:31:46 +01:00
Astro b385e96bc8 nix: bundle a rust nightly channel manifest for Hydra restrict-eval being always-on 2019-03-19 21:26:15 +01:00
Astro 3af1f72e7d adc2tcp.nix: add hydra-build-products 2019-03-19 19:28:25 +01:00
Astro 876658e712 default.nix: import <mozillaOverlay> 2019-03-19 19:27:54 +01:00
Astro f6282f33ff gdb with `cargo run` 2019-03-19 17:16:45 +01:00
Astro 7d50391af0 nix: build with fetchcargo 2019-03-18 23:09:54 +01:00
Astro 3f6bb05001 setup clocks to 168 mhz, adjust TIMER_RATE to 20
systick must elapse more often at higher clock.
2019-03-18 22:04:34 +01:00
Astro 58ac89b66e LICENSE: add GPL-3 2019-03-18 21:47:18 +01:00
Astro 19a1609238 doc 2019-03-18 21:41:51 +01:00
Astro 7423f23969 timer: lower TIMER_RATE to 10 Hz
1 Hz would be sufficient for the current OUTPUT_INTERVAL but that seems
too low for the hardware.
2019-03-18 21:41:18 +01:00
Astro 3770fe743a deny compiler warnings 2019-03-18 21:40:03 +01:00
Astro 987f881ffa main: remove unused compiler feature `never_type` 2019-03-18 21:39:34 +01:00
Astro 9ec32ca0a2 main: fix wfi, revise leds, unreachable end 2019-03-18 21:18:20 +01:00
Astro 9af94e7616 server.poll(): doc, clean-up, pass smoltcp errors 2019-03-18 21:17:02 +01:00
Astro 38b7e1b871 adc_input: make synchronous and simplify 2019-03-18 20:56:29 +01:00
Astro 1832bd5884 net, server: put tcp storage on stack 2019-03-18 20:02:57 +01:00