mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-07 09:33:00 -05:00
- Use one common Makefile for all test device apps. - Use a single copy of syscall.[Sh]. - Update docs for building.
903 B
903 B
Test applications
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 thetestfw.reset_test: Interactively test different reset scenarios.testloadapp: Interactively test management app things like installing an app (hardcoded for a small happy blinking app, seeblink.hfor the entire binary!) and to test verified boot.
Build
$ make
will build all the .elf and .bin files on the top level.
Use
Use tkey-runapp from
tkey-devtools to load the
apps:
$ tkey-runapp testapp.bin
All of these test apps are controlled through the USB CDC, typically by running picocom or similar terminal program, like:
$ picocom /dev/ttyACM1