Jean-Michel Picod
9e8e83fb32
Patch cleanup
2020-09-16 11:48:59 +02:00
Jean-Michel Picod
5ca23c4e05
Update patches for newer kernel
2020-09-16 11:35:19 +02:00
Jean-Michel Picod
a660d5cfda
Remove unnecessary patch
2020-09-16 10:40:08 +02:00
Jean-Michel Picod
bb2685ca94
Update out-of-tree board to new kernel
2020-09-16 10:38:36 +02:00
Jean-Michel Picod
cc495b8c85
Bump kernel version
2020-09-16 10:37:18 +02:00
Jean-Michel Picod
aea26d9909
Add missing aaguid.txt for reproducibility
2020-09-16 10:07:50 +02:00
Jean-Michel Picod
4b4f3ccbfb
Fix pylint error
2020-09-15 11:29:03 +02:00
Jean-Michel Picod
34f3483f9e
Decoralate AAGUID and certificates
2020-09-14 14:03:57 +02:00
Jean-Michel Picod
62c9cebb3e
Fix logic error with ctap2.1
2020-09-01 17:23:43 +02:00
Jean-Michel Picod
728401b00f
Bump elf2tab to 0.6.0
2020-09-01 17:23:26 +02:00
Jean-Michel Picod
403048d2f5
Merge branch 'master' into develop
2020-08-17 12:07:44 +02:00
Jean-Michel Picod
57bf623539
Merge pull request #140 from jmichelp/master
...
Fix parsing logic of deploy.py script
2020-08-12 11:49:44 +02:00
Jean-Michel Picod
d4bb0dd7ef
Fix parsing logic of deploy.py script
2020-08-12 11:20:37 +02:00
Jean-Michel Picod
5495bbd2a4
Merge pull request #136 from jmichelp/master
...
Move to tockloader 1.5
2020-08-11 18:09:10 +02:00
Jean-Michel Picod
f68ab0be9d
Update GitHub workflow
2020-08-07 16:39:11 +02:00
Jean-Michel Picod
8f358b7d81
Move to tockloader 1.5
2020-08-07 16:28:39 +02:00
Jean-Michel Picod
1ad3df42dc
Merge pull request #104 from jmichelp/master
...
Add missing parameter that got introduced in tockloader 1.4
2020-04-29 14:17:16 +02:00
Jean-Michel Picod
999e331306
Add missing paramter that got introduced in tockloader 1.4
2020-04-29 14:05:06 +02:00
Jean-Michel Picod
86b976dc73
Merge pull request #102 from jmichelp/master
...
Adjust yapf formatter
2020-04-29 14:04:36 +02:00
Jean-Michel Picod
ca15ea4323
Fix formatting
2020-04-29 11:48:12 +02:00
Jean-Michel Picod
8211df81d5
Adjust regexp
2020-04-29 11:46:52 +02:00
Jean-Michel Picod
8e182b9de9
Introduce formatting mistake
2020-04-29 11:40:48 +02:00
Jean-Michel Picod
3e19c7512f
Fix missing parentheses in regexp
2020-04-29 11:40:14 +02:00
Jean-Michel Picod
674c4c1b9a
Fixing yapf matcher
2020-04-29 11:38:33 +02:00
Jean-Michel Picod
2e35d0074a
Introduce formatting error to test yapf
2020-04-29 11:05:28 +02:00
Jean-Michel Picod
332d7bc2ea
Update yapf matcher.
...
Extracting the diff is not very useful because messages are not
concatenated. The line/column info is also not useful because the
diff includes some context lines.
2020-04-28 18:36:04 +02:00
Jean-Michel Picod
a611496497
Force format error to test yapf matcher
2020-04-28 18:27:05 +02:00
Jean-Michel Picod
32f0090888
Try to fix yapf matcher
2020-04-28 18:24:46 +02:00
Jean-Michel Picod
a0601145ed
More accurate error message regarding tockloader version.
2020-04-28 10:05:16 +02:00
Jean-Michel Picod
c9773e0f80
Fix dependency on tockloader 1.4
...
Now that it has been released and pushed to pypi, make sure that
tockloader is at least 1.4 version
2020-04-28 10:02:47 +02:00
Jean-Michel Picod
fb945b314e
Merge branch 'master' into tock-1.5
2020-04-24 15:47:54 +02:00
Jean-Michel Picod
d140e5a93d
Merge pull request #99 from jmichelp/master
...
Fix style being used with yapf 0.30.0
2020-04-24 15:42:59 +02:00
Jean-Michel Picod
7cfe3ac3cd
Merge branch 'master' into master
2020-04-24 15:37:46 +02:00
Jean-Michel Picod
7516badab0
Fix formating because of new style in yapf
2020-04-24 12:45:58 +02:00
Jean-Michel Picod
5ea58bc018
Fix style being used with yapf 0.30.0
2020-04-24 12:38:10 +02: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
Jean-Michel
1768934402
Check nrfutil version.
2020-03-13 11:49:56 +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
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
Jean-Michel Picod
9b3eca2c78
Fix extraneous globbing in workflows
2020-03-06 11:35:38 +01:00
Jean-Michel Picod
dbacd7c9e4
Merge pull request #65 from jmichelp/master
...
Make internal python linter happy.
2020-03-03 16:04:55 +01:00
Jean-Michel Picod
740d6658a5
Make internal python linter happy.
...
It seems that our internal linter is stricter than what pylint does.
Fixing the python code to make both happy and tries to fix the gap by
modifying pylintrc configuration file
2020-03-03 14:56:11 +01:00
Jean-Michel Picod
b649433c5f
Merge pull request #64 from jmichelp/master
...
Fix cargo audit workflow
2020-03-03 14:24:38 +01:00
Jean-Michel Picod
2e92227164
Fix cargo audit workflow
...
The env context is only available at the step level, not the job one so
we need to use the github context instead. But the head_ref will only be
populated if we run in a pull_request event. So until we find a better
solution, let's match on the repo URL.
2020-03-03 12:05:38 +01:00
Jean-Michel Picod
4930bff7f8
Merge pull request #62 from jmichelp/master
...
Fix clippy warnings.
2020-03-02 15:34:49 +01:00
Jean-Michel Picod
1c87efd27a
Fix clippy warnings.
...
Because of libtock-rs we can't run clippy on our codebase. But it could
run at least on `build.rs`.
2020-03-02 15:14:50 +01:00
Jean-Michel Picod
e61e47820c
Merge pull request #61 from jmichelp/master
...
Run everything that Travis-CI is running as Github workflows
2020-03-02 15:07:57 +01:00
Jean-Michel Picod
433103cbc9
Merge branch 'master' into master
2020-03-02 15:01:18 +01:00
Jean-Michel Picod
f9f27d7f89
Try to avoid running cargo audit on forks (it fails)
2020-03-02 14:28:16 +01:00
Jean-Michel Picod
72ac346d57
Revert strategy.matrix and fix missing release mode
2020-03-02 14:27:51 +01:00
Jean-Michel Picod
73de02d141
Try using strategy.matrix to run cargo check
2020-03-02 14:24:10 +01:00
Jean-Michel Picod
421f8194af
Gate also crypto unit tests in pull-request by paths
...
These tests take 10 min. Let's avoid running them when not needed.
2020-02-28 17:10:28 +01:00
Jean-Michel Picod
e30ef9c984
Fix typo
2020-02-28 16:56:15 +01:00
Jean-Michel Picod
40632af186
Remove cargo audit on pull request as it fails
2020-02-28 16:55:18 +01:00
Jean-Michel Picod
ac42e86d37
Also ensure we build on OS X
2020-02-28 16:54:16 +01:00
Jean-Michel Picod
f91538506e
Restore path guards
2020-02-28 16:38:42 +01:00
Jean-Michel Picod
578742034e
Remove toolchain parameter for workflow
...
It seems the github action will pick up the rust-toolchain file and if
we specify it as an input, it will have a higher priority
2020-02-28 16:32:20 +01:00
Jean-Michel Picod
c8ac2baca3
Fix wrong workflow name
2020-02-28 16:24:21 +01:00
Jean-Michel Picod
ae1242a55d
Temp enable all unit test to verify workflows
2020-02-28 16:11:23 +01:00
Jean-Michel Picod
cc35ce5067
Create workflows for unit testing
2020-02-28 16:03:04 +01:00
Jean-Michel Picod
68f9eb6b09
Enables cargo audit on pull request
2020-02-28 15:58:32 +01:00
Jean-Michel Picod
9de3817ade
Add missing license header
2020-02-28 15:57:48 +01:00
Jean-Michel Picod
ac37d7dd8a
Restore path guards
2020-02-28 15:55:06 +01:00
Jean-Michel Picod
7dedf40440
Fix typo in YAML workflow
2020-02-28 15:53:44 +01:00
Jean-Michel Picod
19056abbf3
Replace custom action by shell script
2020-02-28 15:52:09 +01:00
Jean-Michel Picod
6c23c45e3c
Merge pull request #59 from cfsghost/master
...
Fixed incorrect command in install.md.
2020-02-28 10:38:00 +01:00
Jean-Michel Picod
47c523e959
Fix entrypoint
2020-02-27 20:11:29 +01:00
Jean-Michel Picod
fa19a80366
Try with a custom action
2020-02-27 20:07:29 +01:00
Jean-Michel Picod
db3b23cf22
Still trying to trigger pylint
2020-02-27 19:22:06 +01:00
Jean-Michel Picod
7a86f80e2b
Now try to trigger pylint matcher
2020-02-27 19:16:45 +01:00
Jean-Michel Picod
051a78ab98
Fix yapf matcher
2020-02-27 19:09:57 +01:00
Jean-Michel Picod
816d2020be
Fix invalid regexp
2020-02-27 18:51:03 +01:00
Jean-Michel Picod
507f4a9f89
Temp disable path restriction
2020-02-27 18:47:21 +01:00
Jean-Michel Picod
4e4b4a3357
Add mistake in deploy.py to test matchers
2020-02-27 18:45:53 +01:00
Jean-Michel Picod
28afe7f86f
Fix yaml bad indent
2020-02-27 18:43:02 +01:00
Jean-Michel Picod
d69b40f2cf
Add custom python problem matcher for pylint and yapf
2020-02-27 18:41:14 +01:00
Jean-Michel Picod
41020ec9f6
Merge pull request #53 from jmichelp/master
...
Add Github workflows
2020-02-25 16:25:11 +01:00
Jean-Michel Picod
9de4662dee
Add more checks
...
- python code formatting is tested with yapf
- cron workflow to run cargo audit
- Don't run on latest
2020-02-25 14:12:37 +01:00
Jean-Michel Picod
59f381c920
Add badges
2020-02-25 10:26:12 +01:00
Jean-Michel Picod
53964b1d61
Also run checks on pull requests
2020-02-25 10:25:55 +01:00
Jean-Michel Picod
a13f9cf8bc
Restore path restriction
...
This avoids running workflows when it's not needed
2020-02-25 10:07:03 +01:00
Jean-Michel Picod
6c96c639ca
Split cargo fmt and cargo check into 2 workflows
2020-02-25 10:06:36 +01:00
Jean-Michel Picod
b152bf98d0
Remove jobs breakdown/dependencies as it seems to not work?
2020-02-25 09:59:10 +01:00
Jean-Michel Picod
51b0e0f48a
Revert debug mode
2020-02-25 09:58:52 +01:00
Jean-Michel Picod
cd14738a2f
Fix missing python dependencies
2020-02-25 09:41:48 +01:00
Jean-Michel Picod
89d15f5759
Fix tput stopping the workflow
2020-02-25 09:36:20 +01:00