Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
/ zig-armv8m-test Public archive

Minimal Zig-based app for Armv8-M + TrustZone

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yvt/zig-armv8m-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig on Cortex-M33

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.

Usage

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!
\

asciicast

License

This project is dual-licensed under the Apache License Version 2.0 and the MIT License.

About

Minimal Zig-based app for Armv8-M + TrustZone

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published