Commit Graph

942 Commits

Author SHA1 Message Date
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
Julien Cretin
690db41dc6 Merge pull request #73 from ia0/wipe
Wipe sensitive data on entry deletion
2020-03-28 15:06:08 +01:00
Julien Cretin
1a337ab90d Fix typos in documentation 2020-03-23 12:57:27 +01:00
Julien Cretin
4a9cc3ce2e Add more details to the store documentation 2020-03-22 17:17:21 +01:00
Julien Cretin
b798b195f4 Return invariant status only and assert in test 2020-03-18 11:10:01 +01:00
Julien Cretin
e1fa8549e1 Merge branch 'master' into wipe 2020-03-18 10:59:24 +01:00
gendx
284b1426ec Merge pull request #83 from gendx/verbose-feature
Add a --verbose parameter to print all USB packets at the OpenSK level.
2020-03-16 12:09:52 +01:00
gendx
93d8df2922 Merge branch 'master' into verbose-feature 2020-03-16 10:39:44 +01: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
Jean-Michel Picod
57e79c18fc Merge pull request #82 from jmichelp/master
Check nrfutil version.
2020-03-13 15:51:05 +01:00
Jean-Michel Picod
f471fc4b5e Merge branch 'master' into master 2020-03-13 15:45:25 +01:00
Jean-Michel Picod
9c3f5c34b4 Incorrect import. 2020-03-13 15:26:54 +01:00
kaczmarczyck
dabbe38605 Merge pull request #75 from kaczmarczyck/HMAC-secret-extension
adding HMAC-secret support
2020-03-13 15:20:53 +01:00
kaczmarczyck
99ae52785e Merge branch 'master' into HMAC-secret-extension 2020-03-13 13:42:39 +01:00
gendx
8de99f70d3 Merge pull request #80 from gendx/sync-patches
Sync upstream kernel to get more reproducible builds.
2020-03-13 13:33:17 +01:00
Jean-Michel
1768934402 Check nrfutil version. 2020-03-13 11:49:56 +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
kaczmarczyck
811224913f Merge branch 'master' into HMAC-secret-extension 2020-03-12 16:53:47 +01:00
Fabian Kaczmarczyck
db6be4efac apply suggestions: Vec to slice, if let to match, comments 2020-03-12 16:38:00 +01:00
Fabian Kaczmarczyck
8d52e8aad7 adding HMAC-secret support 2020-03-12 16:37:48 +01:00
Jean-Michel Picod
ec1ce661d3 Merge pull request #78 from jmichelp/master
Revamp deploy.py
2020-03-12 13:44:11 +01:00
Jean-Michel Picod
93bc8da326 Fix missing directory 2020-03-12 13:35:43 +01:00
Jean-Michel Picod
dfe901e87c Adding missing intelhex python library 2020-03-12 13:29:07 +01:00
Jean-Michel Picod
49182c531a Add new python dependency 2020-03-12 13:23:54 +01:00
Jean-Michel Picod
0e1c76455d Address review round #2 2020-03-12 12:12:45 +01:00
Jean-Michel Picod
7c5c7b9d05 Ensure we have something to do. 2020-03-11 18:31:09 +01:00
Jean-Michel Picod
4a3ccb48d7 Allow flashing only the kernel without any app. 2020-03-11 18:29:31 +01:00
Jean-Michel Picod
b22832e9c7 Rely on Makefile to build Tock OS 2020-03-11 18:20:18 +01:00
Jean-Michel Picod
550098d560 Remove duplicate patch 2020-03-11 17:54:37 +01:00
Jean-Michel Picod
e87e78acf4 Minor changes (review round 1) 2020-03-11 17:54:37 +01:00
Jean-Michel Picod
9c13d738fd Fix pylint 2020-03-11 17:54:37 +01:00
Jean-Michel Picod
e63482af1c Revamp deploy.py
Now the script supports more flashing methods:
- JLink (with tockloader)
- OpenOCD (with tockloader)
- pyOCD
- Nordic DFU
- none (will produce an IntelHex file)

Also merged the contributions from:
- Yihui Xiong to support the Makerdiary USB dongle board
- Dennis Geurts to support Nordic DFU

Doc updated accordingly.

Imported 2 patches for Tock kernel:
- 06-add-set_vector_table_offset.patch (upstream tock/tock#1579)
- 07-nrf52-bootloader.patch (upstream tock/tock#1681)
2020-03-11 17:54:37 +01:00
gendx
8b146440a5 Merge pull request #77 from gendx/sync-patches
Sync patches with upstream Tock.
2020-03-11 17:38:20 +01:00
Guillaume Endignoux
bb7a0ef801 Sync patches with upstream Tock. 2020-03-11 17:04:05 +01:00
Julien Cretin
61a4fb9784 Wipe sensitive data on entry deletion
When inserting (or replacing) entries in the store, the data may be marked as
sensitive. When that entry is deleted, the data is wiped by overwritting it with
zeroes. This may cost a few bytes of overhead per entry with sensitive data to
satisfy the constraint that words may only be written twice.
2020-03-10 14:27:07 +01:00
gendx
fa4271104d Merge pull request #72 from gendx/fix-usb-cancellation
Add patch for bidirectional USB endpoints to fix panics in case of cancellation.
2020-03-09 17:32:29 +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
Jean-Michel Picod
47bd524c40 Merge pull request #68 from jmichelp/master
Fix extraneous globbing in workflows
2020-03-06 14:07:48 +01:00
Jean-Michel Picod
e21c753dd3 Merge branch 'master' into master 2020-03-06 13:36:11 +01:00
gendx
96b1a68f45 Merge pull request #67 from gendx/remove-patch
Remove patch
2020-03-06 11:44:25 +01:00
Jean-Michel Picod
9b3eca2c78 Fix extraneous globbing in workflows 2020-03-06 11:35:38 +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