This repository includes a small example application that runs on AN505, a Cortex-M33-based prototyping system on FPGA. Written mostly in Zig and partly in assembler.
You need the following things before running this example:
- Either of the following:
- QEMU 4.0.0 or later. Older versions are not tested but might work.
- Arm MPS2+ FPGA prototyping board configured with AN505. The encrypted FPGA image of AN505 is available from Arm's website.
- Zig
2cb1f93
(Aug 16, 2019) or later
Do the following:
$ zig build -Drelease-small qemu
(Hit ^A X to quit QEMU)
The Secure code is running!
Booting the Non-Secure code...
NS: Hello from the Non-Secure world!
\
This project is dual-licensed under the Apache License Version 2.0 and the MIT License.