mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-27 08:55:23 -04:00
build: Move test applications and the defaultapp
Instead of having the test apps under fw we create a new directory for them.
This commit is contained in:
parent
69940d2c64
commit
13641cb18b
14 changed files with 19 additions and 18 deletions
18
hw/application_fpga/apps/README.md
Normal file
18
hw/application_fpga/apps/README.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Test applications
|
||||||
|
|
||||||
|
All of these test apps are controlled through the USB CDC, typically
|
||||||
|
by running picocom or similar terminal program, like:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ picocom /dev/ttyACM1
|
||||||
|
```
|
||||||
|
|
||||||
|
- `defaultapp`: Immediately resets the TKey with the intention to
|
||||||
|
start an app from the client, replicating the behaviour of earlier
|
||||||
|
generations.
|
||||||
|
- `testapp`: Runs through a couple of tests that are now impossible
|
||||||
|
to do in the `testfw`.
|
||||||
|
- `reset_test`: Interactively test different reset scenarios.
|
||||||
|
- `testloadapp`: Interactively test management app things like
|
||||||
|
installing an app (hardcoded for a small happy blinking app, see
|
||||||
|
`blink.h` for the entire binary!) and to test verified boot.
|
|
@ -812,22 +812,5 @@ ordinary `application_fpga/Makefile` to be able to fit in ROM.
|
||||||
|
|
||||||
### Test apps
|
### Test apps
|
||||||
|
|
||||||
There are a couple of test apps. All of them are controlled through
|
There are a couple of test apps, see `../apps`.
|
||||||
the USB CDC, typically by running picocom or similar terminal program,
|
|
||||||
like:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ picocom /dev/ttyACM1
|
|
||||||
```
|
|
||||||
|
|
||||||
or similar.
|
|
||||||
|
|
||||||
- `fw/defaultapp`: Immediately resets the TKey with the intention to
|
|
||||||
start an app from the client, replicating the behaviour of earlier
|
|
||||||
generations.
|
|
||||||
- `fw/testapp`: Runs through a couple of tests that are now impossible
|
|
||||||
to do in the `testfw`.
|
|
||||||
- `fw/reset_test`: Interactively test different reset scenarios.
|
|
||||||
- `fw/testloadapp`: Interactively test management app things like
|
|
||||||
installing an app (hardcoded for a small happy blinking app, see
|
|
||||||
`blink.h` for the entire binary!) and to test verified boot.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue