tillitis-key/hw/application_fpga/fw/tk1
Michael Cardell Widerkrantz c80dc53027
fw: Introduce an explicit state machine - changes protocol!
We introduce an explicit state machine (see README).

With the new states we:

- combine setting size and USS to a single command.
- start the device app immediatiely when having receceived the last
  data chunk and returning the digest.
- Loop forever and wait for the stick to be removed if we end up in
  unknown state.

Signed-off-by: Michael Cardell Widerkrantz <mc@tillitis.se>
2022-11-28 16:17:19 +01:00
..
blake2s Rename to TK1 2022-10-26 09:20:02 +02:00
firmware.lds Rename to TK1 2022-10-26 09:20:02 +02:00
lib.c Rename to TK1 2022-10-26 09:20:02 +02:00
lib.h Rename to TK1 2022-10-26 09:20:02 +02:00
main.c fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00
Makefile Rename to TK1 2022-10-26 09:20:02 +02:00
proto.c fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00
proto.h fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00
start.S Change to max 100 KB app with 28 KB stack 2022-11-02 15:52:29 +01:00
types.h fw: Introduce an explicit state machine - changes protocol! 2022-11-28 16:17:19 +01:00