Commit Graph
78 Commits
Author SHA1 Message Date
Fabian Kaczmarczyck 31df2ca45e use f-strings and test with 3.9 2021-09-17 14:12:58 +02:00
Julien Cretin 2d5fdd1034 Configure the number of pages in the board
This permits to have portable apps.
2021-09-13 18:50:13 +02:00
c1f2551d0d Bump Tock kernel version (#374)
* Bump Tock kernel version

* Update boards to new kernel

* Update patches to new kernel

* Update PR template

* Bump libtock-rs

* Use new layout from libtock-rs

* Fix clippy warnings due to updated toolchain

* Fix new toolchain file format

* Bump elf2tab to v0.7.0

* Fix worklow and setup.sh script to use the TOML rust-toolchain file

* New libtock-rs style of declaring the stack.

* Fix padding in layout file.

The layout from libtock-rs generates invalid flash padding.
The value is 32-bit and therefore setting padding to 0xff yields
0xff000000 instead of 0xffffffff that we want.

* adds tock patch for app break hard fault

* sets in deploy, removed patch 04-mpu-fix

* fixed the if deploy

* fixes indentation

* updates board names in install.md

* fix docs and deploy style

Co-authored-by: Fabian Kaczmarczyck <kaczmarczyck@google.com>
Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com>
2021-09-10 08:32:34 +02:00
Julien Cretin 7418196814 Specificy encoding when opening rust-toolchain file
This probably is just ASCII.
2021-08-30 11:41:14 +02:00
kaczmarczyck ce0ee6c054 Kernel minimization (#334)
* adds patch to remove unused kernel components

* new boards, rebase patches to match

* rename boards for deployment
2021-06-28 14:55:20 +02:00
Fabian Kaczmarczyck 9ca17b17e1 configuration changes to reduce binary size 2021-06-18 16:57:23 +02:00
Jean-Michel Picodandkaczmarczyck fe0a9f208e Fix broken parsing. (#317) (#323)
* Fix broken parsing.

By setting the default value before pre-parsing we ensure that the item
can't be None. As an extra safety the custom action also checks for
None.

Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com>
2021-06-09 22:52:52 +02:00
kaczmarczyck f11a838cc7 Improved documentation for customization (#287)
* move constants to new file, and update documentation

* documentation improvements, deploy checks tests

* fix pylint

* improved code style

* swap build and check
2021-02-19 14:20:23 +01:00
Fabian Kaczmarczyck c873d3b614 removes all occurences of CTAP 2.1 flags 2021-01-08 12:40:37 +01:00
Julien Cretin f67fdbc451 Add erase_storage application example 2020-12-22 16:17:02 +01:00
Jean-Michel Picod e35c41578e Add configuration tool 2020-12-16 18:22:15 +01:00
Julien Cretin ece546a03b Merge branch 'master' into v2_lib 2020-12-10 17:08:00 +01:00
Julien Cretin ae08221cdb Add latency example 2020-12-10 13:31:25 +01:00
Julien Cretin 4253854cf1 Remove ram_storage feature
We don't need to build a production key without persistent storage. Tests and
fuzzing continue to use the std feature to use the RAM implementation (that does
sanity checks).
2020-12-10 13:06:05 +01:00
Mirna f9705d7c26 example app 2020-11-02 11:13:58 +02:00
Mirna b95b0682f9 Added NFC compile flag 2020-10-23 19:25:36 +02:00
Mirna 7e0a48ae1c Resolved Review Comments 2020-10-21 10:39:17 +02:00
Mirna 929aaf3ba2 Update in libtock-drivers/ and nfct_test.rs application 2020-10-16 08:06:42 +02:00
Mirna d36cac1a33 Add NFC example application 2020-10-16 08:06:42 +02:00
Guillaume Endignoux 70482a2f21 Install elf2tab in its own directory. 2020-09-29 12:56:21 +02:00
coelner ef40657c27 install a local elf2tab binary within the repo itself 2020-09-24 12:36:11 +02:00
Guillaume Endignoux a3b9724165 Add console_test example to stress-test Tock's console driver. 2020-09-22 16:33:52 +02:00
Jean-Michel Picod 4b4f3ccbfb Fix pylint error 2020-09-15 11:29:03 +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