Commit Graph
91 Commits
Author SHA1 Message Date
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
Guillaume Endignoux 0fe4889624 Add GitHub workflow to build the boards. 2020-03-05 11:50:26 +01:00
Guillaume Endignoux 68ec755936 Add tests that supported boards build properly. 2020-03-05 11:34:45 +01:00
Guillaume Endignoux bf9e3620ec Sync with upstream Tock to remove the latest patch. 2020-03-05 11:24:07 +01:00
Guillaume Endignoux 7703ddb44c Add comment about AtomicUsize. 2020-03-03 19:32:25 +01:00
Guillaume Endignoux 9f6207f5a5 Add more cargo check combinations, to include the panic_console and debug_allocations features. 2020-03-02 16:16:55 +01:00
Guillaume Endignoux 0547a02b3f Typo. 2020-03-02 16:09:33 +01:00
Guillaume Endignoux 495b32b7e0 Add feature to track allocations in libtock-rs and print statistics to the console. 2020-03-02 16:02:03 +01:00
Guillaume Endignoux f2936cb45c Import bugfix from https://github.com/tock/tock/pull/1636 as a patch. 2020-02-28 15:12:16 +01:00
Guillaume Endignoux 3831872585 Synchronize with upstream Tock to remove 04-rtt.patch 2020-02-27 13:42:47 +01:00
Guillaume Endignoux 2817ca0e20 Don't lock the allocator with spin. 2020-02-07 14:59:54 +01:00
Guillaume Endignoux 9c23c36996 Update the ring dev dependency version. 2020-02-06 16:43:32 +01:00
Guillaume Endignoux f452b2dee2 Fix Bash syntax. 2020-02-06 16:07:41 +01:00
Guillaume Endignoux cab6f0c139 Add a comma_separated function to avoid duplicated code. 2020-02-06 15:52:13 +01:00
Guillaume Endignoux 5951e0397f Pass features to crypto bench example. 2020-02-06 14:15:34 +01:00
Guillaume Endignoux b162b690ba Decrease the number of tests in debug mode, to account for slower CI on Travis. 2020-02-06 13:41:18 +01:00
Guillaume Endignoux 56acc4b73a Don't dereference slices obtained from include_bytes. 2020-02-06 13:28:28 +01:00
Guillaume Endignoux 2985c64454 Bump rust-toolchain and linked-list-allocator versions. 2020-02-04 17:05:07 +01:00
Guillaume Endignoux a845b813cd Update arrayref version in libraries/crypto. 2020-02-04 11:26:25 +01:00