kaczmarczyck
c2ccfcfd98
Merge branch 'master' into info-2-1
2020-04-29 14:41:42 +02:00
Jean-Michel Picod
999e331306
Add missing paramter that got introduced in tockloader 1.4
2020-04-29 14:05:06 +02:00
Fabian Kaczmarczyck
8bbf42623f
adds cargo checks and tests to workflows and locally
2020-04-29 09:53:44 +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
kaczmarczyck
2aeeff3bb5
Merge branch 'master' into info-2-1
2020-04-28 16:23:30 +02:00
Fabian Kaczmarczyck
d9c4c729e8
adds a feature flag for CTAP2.1, addresses comments
2020-04-28 16:04:09 +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
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
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
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
gendx
93d8df2922
Merge branch 'master' into verbose-feature
2020-03-16 10:39:44 +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
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
93bc8da326
Fix missing directory
2020-03-12 13:35:43 +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
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
Julien Cretin
e52a671810
Support storing in RAM instead of flash
...
This permits to run without persistent storage. The benefit is that the board
doesn't implement a the syscall API in Tock. The disadvantage is that rebooting
the key will reset the storage.
2020-03-04 16:24:06 +01:00
gendx
c56af05c1b
Merge branch 'master' into add-debug-allocations
2020-03-04 10:20:39 +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
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
Jean-Michel
e9f69170e4
Configure pylint for Google's Python style.
...
Adding pylint configuration, VSCode configuration to lint on save and
make the deploy.py script compliant.
2020-02-21 17:41:40 +01:00
Jean-Michel
8ad28efa5b
Fix errors in deploy script.
2020-02-21 14:42:34 +01:00
Jean-Michel Picod
557eebab2c
Improve deploy script.
...
- Check that JLinkExe in properly installed
- Verify that the app is installed
- Always report failures in the exit code
- Add vscode settings for Python code formatting using Google style
- Fix issue #42 regarding tockloader version and sticky parameter
2020-02-20 11:36:44 +01:00
Jean-Michel Picod
992ffbbef3
Check for JLinkExe in path
2020-02-19 11:50:52 +01:00
Jean-Michel Picod
7d421d3ae0
Replace shell script with a python3 script.
...
Updated the shell script that generates the certificates and the
documentation accordingly.
Caveat: now installation is a 2-step procedure, installing OS and
application are split into 2 commands.
2020-02-19 11:34:43 +01:00