Commit Graph

415 Commits

Author SHA1 Message Date
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
3d844977ef nix: openocd.src = openocd 2019-05-09 20:58:11 +02:00
2583de36a8 bump dependencies to now stable versions 2019-05-09 20:56:25 +02:00
e6395eaf9d clippy delint 2019-04-27 15:25:27 +02:00
70236a2060 rust edition 2018 delint 2019-04-27 15:23:50 +02:00
fdcbeae74f nix/channel-rust-nightly.toml: update to 2019-04-18 from 2019-04-02 2019-04-18 18:07:09 +02:00
a426c5aad7 use NixOS 19.03 multiarch gdb instead of custom build 2019-04-12 17:14:38 +08:00
4a334465da default.nix: replace $BIN with ${firmwareBinary} 2019-04-05 23:13:49 +02:00
cbfe3a177b default.nix, nix/openocd: replace shell script with makeWrapper 2019-04-05 23:10:16 +02:00
462c5e2668 nix/channel-rust-nightly.toml: update to 2019-04-02 from 2019-03-24 2019-04-02 16:40:27 +02:00
acb2709783 Cargo.toml: simplify 'panic-abort' dependency 2019-03-25 17:06:40 +01:00
5abcfae432 nix/adc2tcp: move duplicate sha256 into one variable 2019-03-25 01:33:45 +01:00
db9b50f9c6 nix/channel-rust-nightly.toml: update to 2019-03-24 from 2019-03-19 2019-03-24 20:25:52 +01:00
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
6ae87db7e1 commit missing file 2019-03-22 22:35:38 +08:00
3e418a5932 fix gdb.nix invokation 2019-03-22 22:29:56 +08:00
7d98fd416c cleanup + build gdb on hydra 2019-03-22 20:34:32 +08:00
cc35c81e55 Cargo.lock: update 2019-03-22 12:59:11 +01:00
27e011ccb6 fix cargo hashes 2019-03-22 17:07:10 +08:00
4ce1baeb3c release.nix: make top-level nix-expression palatable to Hydra 2019-03-22 16:54:53 +08:00
7413d3d012 add README 2019-03-21 17:56:06 +01:00
2d758af9e4 add feature "generate-hwaddr" to generate indivudal MAC addrs from device electronic signature 2019-03-21 17:41:33 +01:00
22e7a77d80 Cargo.lock: update 2019-03-21 17:41:03 +01:00
3928005bbf release.nix: runCommand 2019-03-19 23:09:56 +01:00
faab0d4546 release.nix: callPackage 2019-03-19 22:42:13 +01:00
a5cf3c28da nix: fetch rustManifest explicitly by default 2019-03-19 22:24:02 +01:00
bd42bc9129 parameterize the rustManifest file 2019-03-19 22:12:28 +01:00
6466a8deeb release.nix: use pkgs.lib.hydraJob 2019-03-19 21:47:31 +01:00
3fa7f7811e release.nix: turn into attrset (Hydra jobset) 2019-03-19 21:36:25 +01:00
b115ee1afc shell.nix: rm obsolete parameter 2019-03-19 21:31:46 +01:00
b385e96bc8 nix: bundle a rust nightly channel manifest for Hydra restrict-eval being always-on 2019-03-19 21:26:15 +01:00
3af1f72e7d adc2tcp.nix: add hydra-build-products 2019-03-19 19:28:25 +01:00
876658e712 default.nix: import <mozillaOverlay> 2019-03-19 19:27:54 +01:00
f6282f33ff gdb with cargo run 2019-03-19 17:16:45 +01:00
7d50391af0 nix: build with fetchcargo 2019-03-18 23:09:54 +01:00
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
58ac89b66e LICENSE: add GPL-3 2019-03-18 21:47:18 +01:00
19a1609238 doc 2019-03-18 21:41:51 +01:00
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
3770fe743a deny compiler warnings 2019-03-18 21:40:03 +01:00
987f881ffa main: remove unused compiler feature never_type 2019-03-18 21:39:34 +01:00
9ec32ca0a2 main: fix wfi, revise leds, unreachable end 2019-03-18 21:18:20 +01:00
9af94e7616 server.poll(): doc, clean-up, pass smoltcp errors 2019-03-18 21:17:02 +01:00
38b7e1b871 adc_input: make synchronous and simplify 2019-03-18 20:56:29 +01:00
1832bd5884 net, server: put tcp storage on stack 2019-03-18 20:02:57 +01:00
912bc2db24 shell.nix: explicitly build gdb for targetPlatform arm-none-eabihf
required for gdb 8.1.1 from nixos 18.09.
2019-03-18 01:47:09 +01:00
2b65b1daf1 Cargo.toml: reduce unneeded smoltcp features 2019-03-15 14:19:50 +01:00
c7c9f7e0ad move gdb dependency from default.nix to shell.nix 2019-03-15 14:18:43 +01:00
e6125581fd main: repurpose led activity, obtain fresh time 2019-03-14 22:07:52 +01:00
384b537555 net: maintain NET_PENDING flag 2019-03-14 22:02:25 +01:00