tillitis-key/hw
Michael Cardell Widerkrantz 56e34b3add
fw/testfw: Use fw_ram for firmware stack
This means firmware's stack shouldn't be accessible to programs
running in app_mode.

It also means we don't need to take special care of secure_ctx which
can now be an ordinary stack variable.

Nonetheless we zero out secure_ctx after final use and inline some
assembler to zero out the entire fw_ram after use, just before
switching to app_mode.

Signed-off-by: Daniel Lublin <daniel@lublin.se>
2023-03-14 10:25:02 +01:00
..
application_fpga fw/testfw: Use fw_ram for firmware stack 2023-03-14 10:25:02 +01:00
boards Add modified case plastic design for MTA1 programmer 2023-03-07 17:09:38 +01:00
production_test Add (hardware) production tests for the TK-1 and TP-1 (#69) 2023-01-11 16:33:01 +01:00