Commit Graph
22 Commits
Author SHA1 Message Date
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