kaczmarczyck
32da73772f
Upgrade tooling ( #400 )
...
* upgrade tooling
* adds condition on nrfjprog
2021-11-04 16:31:37 +01:00
kaczmarczyck
330fa12d1a
erase unused flash pages so hashes matches ( #392 )
...
* erase unused flash pages so hashes matches
* always pad the kernel, adds docstrings
* added type hints
* fix typos
2021-11-01 10:34:13 +01:00
kaczmarczyck
9b780ef7d7
New boards with layouts for dual partition setups ( #387 )
...
* upgradable boards
* updates the install manual for proper SSL config
* storage locations from build script
* deploy script improvements
* UTC time
2021-10-06 18:33:40 +02:00
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
Jean-Michel Picod
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 Picod
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
Jean-Michel Picod
d4bb0dd7ef
Fix parsing logic of deploy.py script
2020-08-12 11:20:37 +02:00
Jean-Michel Picod
8f358b7d81
Move to tockloader 1.5
2020-08-07 16:28:39 +02:00
Guillaume Endignoux
e60e10e777
Add examples for panic_test and oom_test.
2020-08-07 15:09:07 +02:00
Guillaume Endignoux
58e2f1211c
Update deploy.py to the new libtock.
2020-08-07 15:09:07 +02:00
Guillaume Endignoux
3124735cf1
Use argparse.FileType as suggested in review.
2020-06-09 16:54:44 +02:00
Guillaume Endignoux
6b2df6f2b5
Add elf2tab output to reproducible reference, to easily check for binary size regressions.
2020-06-09 16:27:22 +02:00
Julien Cretin
2a304c58cb
Fix --sector flag and X+Y positional argument
2020-06-02 17:42:40 +02:00
Julien Cretin
90911fb32a
Fix missing = in pyocd arguments
2020-06-02 17:01:31 +02:00
Julien Cretin
2edbc567ef
Use erase command for pyocd
2020-06-02 15:54:15 +02:00
Julien Cretin
80510e2770
Add --clear-storage flag
2020-05-30 12:48:07 +02:00
Guillaume Endignoux
39a3becffb
Address review comments.
2020-05-13 12:57:20 +02:00
Guillaume Endignoux
20f65f9dd7
Add GitHub workflow to check that binaries are reproducible.
2020-05-12 17:41:27 +02:00
Julien Cretin
fb0b1db759
Rename linker script according to the chip
...
The layout applies to all boards sharing the nrf52840 chip.
2020-04-30 16:04:28 +02:00
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