Commit Graph
100 Commits
Author SHA1 Message Date
Guillaume Endignoux 70482a2f21 Install elf2tab in its own directory. 2020-09-29 12:56:21 +02:00
Guillaume Endignoux 3da39a0aa9 Update reference hashes. 2020-09-29 11:35:45 +02:00
Guillaume Endignoux 63432000db Allow clippy::new_without_default. 2020-09-29 11:19:41 +02:00
Guillaume Endignoux ca288d2695 Add Clippy to run_desktop_tests.sh script. 2020-09-29 11:06:59 +02:00
Guillaume Endignoux ea781541d5 Install Clippy via actions-rs/toolchain. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux 68b0bdc29b Fix more Clippy warnings. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux b46b103db0 Add a Clippy workflow. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux 323701a6e2 Formatting. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux 5511811703 Fix most Clippy warnings. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux a8b4258d76 Disable cargo_fuzz workflow on MacOS. 2020-09-24 14:37:01 +02:00
Guillaume Endignoux 387db8ae1c Update hashes 2020-09-24 12:36:25 +02:00
Guillaume Endignoux 359b243eb6 Add component for USB CTAP. 2020-09-24 12:28:29 +02:00
Guillaume Endignoux c0062efa28 Update hashes and add a script to automate that from GitHub artifacts. 2020-09-24 12:11:13 +02:00
Guillaume Endignoux 7485b097c1 Check that fuzzer in libraries/cbor builds properly. 2020-09-24 11:33:15 +02:00
Guillaume Endignoux 85a34ad085 Migrate import statements and macros to Rust 2018. 2020-09-24 11:28:24 +02:00
Guillaume Endignoux a3b9724165 Add console_test example to stress-test Tock's console driver. 2020-09-22 16:33:52 +02:00
Guillaume Endignoux 361f8753c0 Fix reference binaries. 2020-09-22 13:28:21 +02:00
Guillaume Endignoux ff73936a4d Fix imports in ctap, embedded_flash and lang-items. 2020-09-22 13:14:33 +02:00
Guillaume Endignoux 1e7699ad1e Update reference binaries. 2020-08-07 15:23:45 +02:00
Guillaume Endignoux ff0eefcae5 Fix typo in Cargo.toml. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux c73492aae5 Checkout with submodules. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 67a7223802 Setup submodules before the rest so that GitHub workflows can find the rust-toolchain. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux d5e7cfa1b1 Update rust-toolchain to be a symlink to third_party/libtock-rs/rust-toolchain. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux e60e10e777 Add examples for panic_test and oom_test. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 58e2f1211c Update deploy.py to the new libtock. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 3c5e0c9cf1 Update src/ to the new libtock. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux b30b88156a Update libraries/ to the new libtock. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux e1fd1f2257 Remove obsolete patches for libtock-rs. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 6df347acf3 Update libtock-rs to the current master. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 76c0840354 Update third_party/lang-items to support OpenSK. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux fbc7044328 git mv alloc.rs allocator.rs 2020-08-07 15:09:07 +02:00
Guillaume Endignoux ee7ffa658c Import https://github.com/tock/libtock-rs/core at commit ab2c945 into third_party/lang-items/. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 89e397e718 Import https://github.com/tock/libtock-rs/core at commit 828c19d into third_party/lang-items/. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 529db7b4ef Update usb_ctap_hid.rs to the new API. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 6cc4f2cfb6 Move usb_ctap_hid.rs to third_party/libtock-drivers. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 467121c962 Update third_party/libtock-drivers to support OpenSK. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 5f1fcaedf5 git mv leds.rs led.rs 2020-08-07 15:09:07 +02:00
Guillaume Endignoux 251e007d59 Import https://github.com/tock/libtock-rs at commit 828c19d into third_party/libtock-drivers/. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux abc251ef8a Add reference elf2tab and binary hashes to the uploaded reproduced.tar file. 2020-07-24 15:33:45 +02:00
Guillaume Endignoux d70cc7f8ea Update reference binaries. 2020-07-24 10:34:26 +02:00
Guillaume Endignoux b6c6392aaa Pin tockloader in workflows. 2020-07-23 15:11:11 +02:00
Guillaume Endignoux 52d276671d Pin Tockloader to version 1.4, as a temporary workaround until we migrate to 1.5. 2020-07-23 15:06:16 +02:00
Guillaume Endignoux 125a008cc3 Update reference binaries. 2020-07-10 10:52:49 +02:00
Guillaume Endignoux 8174d59c8f Add documentation about development and testing. 2020-07-10 09:38:45 +02:00
Guillaume Endignoux 4bda702a70 Install ncurses on GitHub workflow. 2020-06-26 11:12:25 +02:00
Guillaume Endignoux f33bd3838f Typo. 2020-06-26 11:07:48 +02:00
Guillaume Endignoux 31a8996ea5 Add tests for heapviz tool. 2020-06-26 11:05:45 +02:00
Guillaume Endignoux 85f759f912 Add CLI parameters and wait for ENTER to start visualization. 2020-06-26 10:45:53 +02:00
Guillaume Endignoux 75836d459a Address review comments. 2020-06-25 18:18:21 +02:00
Guillaume Endignoux e457efc4d6 Add a heap visualization tool. 2020-06-25 15:46:08 +02:00
Guillaume Endignoux ce5767efec Update reference binaries. 2020-06-22 11:57:37 +02:00
Guillaume Endignoux 09c9fb3a3e Apply suggestion to remove additional semi-colons. 2020-06-22 11:49:47 +02:00
Guillaume Endignoux 240ba7580d Improve comments. 2020-06-22 11:49:47 +02:00
Guillaume Endignoux db70c3e66d s/read_cbor_map/destructure_cbor_map/g 2020-06-22 11:49:47 +02:00
Guillaume Endignoux 2589eb99b3 Update read_cbor_map example to use a text key as well. 2020-06-22 11:49:47 +02:00
Guillaume Endignoux 493efa9b25 Apply syntax suggestion to read_cbor_map! macro. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux b0321f6b4f Migrate PublicKeyCredentialSource to read_cbor_map.
I didn't realize that the values were actually constants, as
discriminants of an enum.
2020-06-22 11:49:46 +02:00
Guillaume Endignoux c8864666e0 Extract some logic to a separate function, to reduce binary size overhead of read_cbor_map. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux 2124511913 Simplify syntax of the read_cbor_map! macro, to align it with cbor_map. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux 2c4bf7d422 Add documentation for read_cbor_map! macro. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux 97fb222455 Add a read_cbor_map macro to avoid the overhead of removing values on-by-one in BTreeMap. 2020-06-22 11:49:46 +02:00
Guillaume Endignoux 3d9e283eeb Update reference hashes. 2020-06-19 18:33:34 +02:00
Guillaume Endignoux 2094f8156c Increase size of console buffering. 2020-06-19 18:22:47 +02:00
Guillaume Endignoux a7c79c4f23 Resolve review comments. 2020-06-19 18:16:09 +02:00
Guillaume Endignoux c7493d1b9d Reduce the number of syscalls made by the console in libtock-rs. 2020-06-19 18:16:09 +02:00
Guillaume Endignoux 94876db179 Always run git-diff in reproducible workflow, even if the job failed so far. 2020-06-15 17:25:50 +02:00
Guillaume Endignoux 475e218663 Address review comment. 2020-06-09 16:56:38 +02:00
Guillaume Endignoux 3124735cf1 Use argparse.FileType as suggested in review. 2020-06-09 16:54:44 +02:00
Guillaume Endignoux ad044972b5 Per-OS reproducible elf2tab. 2020-06-09 16:43:01 +02:00
Guillaume Endignoux 2acacb6591 Update .gitignore. 2020-06-09 16:28:33 +02:00
Guillaume Endignoux 6b2df6f2b5 Add elf2tab output to reproducible reference, to easily check for binary size regressions. 2020-06-09 16:27:22 +02:00
Guillaume Endignoux 0604be61a6 Don't fail fast on reproducible workflow and update reference binaries. 2020-05-13 13:24:34 +02:00
Guillaume Endignoux 39a3becffb Address review comments. 2020-05-13 12:57:20 +02:00
Guillaume Endignoux 20f65f9dd7 Add GitHub workflow to check that binaries are reproducible. 2020-05-12 17:41:27 +02:00
Guillaume Endignoux c780d76613 Append. 2020-04-28 18:04:41 +02:00
Guillaume Endignoux e838356f3b Revert review suggestion.
No, we don't want to run: Command '['rustup', '-', '-', 'v', 'e', 'r', 'b', 'o', 's', 'e', 'install', 'nightly-2020-02-03']'
2020-04-28 18:00:42 +02:00
Guillaume Endignoux dc088479db Fix review comments. 2020-04-28 17:57:10 +02:00
Guillaume Endignoux 7d47de2b3b Formatting. 2020-04-28 14:05:36 +02:00
Guillaume Endignoux 463a289dd0 Verbose rustup. 2020-04-28 14:02:24 +02:00
Guillaume Endignoux ec2c3fb201 Formatting. 2020-04-28 13:56:17 +02:00
Guillaume Endignoux 4903232c42 Add a --verbose-build option to the deploy script. 2020-04-28 13:51:03 +02:00
Guillaume Endignoux 0a38339b8e Upgrade to Tock-1.5-rc2 2020-04-24 11:20:12 +02:00
Guillaume Endignoux 780a5e6a0d More detailed installation instructions. 2020-04-14 16:19:48 +02:00
Guillaume Endignoux 291d3db553 Add rustfmt component to cargo_fmt workflow. 2020-04-09 13:38:57 +02:00
Guillaume Endignoux e467ed1344 Fix Python formatting. 2020-04-08 15:55:51 +02:00
Guillaume Endignoux 4b9486d0bd Sync with upstream Tock to have reproducible builds. 2020-04-08 15:45:46 +02:00
Guillaume Endignoux 4d5ef342de Update workflows. 2020-03-13 16:03:31 +01:00
Guillaume Endignoux 8f4d4c1210 Add a --verbose parameter to print all USB packets at the OpenSK level. 2020-03-13 15:59:51 +01:00
Guillaume Endignoux 4b1d5d2645 Typo. 2020-03-12 19:11:49 +01:00
Guillaume Endignoux 6f8b8e7a64 Sync nrf52840_mdk_dfu with upstream and add DFU-based boards to run_desktop_tests.sh 2020-03-12 19:08:05 +01:00
Guillaume Endignoux 3deca37699 Add SHA-256 sum computation to CI. 2020-03-12 18:53:16 +01:00
Guillaume Endignoux e6e04dd173 Sync upstream kernel to get reproducible builds. 2020-03-12 18:35:08 +01:00
Guillaume Endignoux bb7a0ef801 Sync patches with upstream Tock. 2020-03-11 17:04:05 +01:00
Guillaume Endignoux 951268b5f6 Add patch for bidirectional USB endpoints to fix panics in case of cancellation. 2020-03-09 16:38:59 +01:00
Guillaume Endignoux 3af13f1957 Add path protection on push for workflows/boards_build.
According to the rules at https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#patterns-to-match-file-paths
2020-03-05 17:12:05 +01:00
Guillaume Endignoux 1fca16316e Remove paths rules from workflows/boards_build. 2020-03-05 15:31:32 +01:00
Guillaume Endignoux 0036858db9 Increase ROM size in layout.ld so that boards build on long build directories. 2020-03-05 12:33:12 +01:00
Guillaume Endignoux ed350192c9 Move third_party/tock to a long build directory to catch limits in the linker scripts. 2020-03-05 12:28:01 +01:00
Guillaume Endignoux eac6f1d0bd Build boards only when relevant paths are affected. 2020-03-05 12:08:28 +01:00
Guillaume Endignoux 6d323f3c5a Apply make suggestions. 2020-03-05 12:03:35 +01:00