• This repository has been archived on 06/Nov/2022
  • Stars
    star
    8
  • Rank 2,034,747 (Top 42 %)
  • Language
    Zig
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Minimal Zig-based app for Armv8-M + TrustZone

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.

More Repositories

1

openspades

Compatible client of Ace of Spades 0.75
C++
1,096
star
2

rlsf

Constant-time dynamic memory allocator in Rust
Rust
72
star
3

Stella2

Light-weight desktop client for instant messaging services (abandoned)
Rust
47
star
4

amx-rs

Rust wrapper for Apple Matrix Coprocessor (AMX) instructions
Rust
42
star
5

terravox

Simple heightmap Editor for Voxlap5 VXL (512x512x64 only)
C++
29
star
6

img2text

Image-to-text converter
Rust
20
star
7

svgbobdoc

Rust procedural macro that renders ASCII diagrams in doc comments as SVG images.
Rust
19
star
8

xalloc-rs

Dynamic suballocators for external memory (e.g., Vulkan device memory).
Rust
16
star
9

VxlToObj

Converts .vxl to .obj
C#
8
star
10

tokenlock

Provides cell types that decouple permissions from data.
Rust
8
star
11

cryo

&'a T → impl Deref + 'static
Rust
8
star
12

swsurface-rs

Software-rendered surface for winit (WIP)
Rust
7
star
13

ARcane

Experiment with WebGL, voxel ray tracing, and ARToolkit
TypeScript
7
star
14

zellij-cpulamp

Minimal CPU activity indicator plugin for Zellij
Rust
6
star
15

Agiletimbres

Synthesizer designed to work on SHARP electronic dictionary
C++
6
star
16

farcri-rs

FarCri.rs: Criterion.rs-based microbenchmarking library for resource-constrained systems
Rust
6
star
17

try_match-rs

An expression macro that matches a pattern and returns `Result` or `Option`.
Rust
6
star
18

druzhba

Experimental statically-composed component framework written in Zig
Zig
5
star
19

xtbook

SHARP Brain用Wikipediaビューア (開発中止)
C++
5
star
20

ngspades

Abandoned game engine project
Rust
4
star
21

tcw3-calc

Simple calculator app written in Rust
Rust
4
star
22

consolist

Outputs a bitmap image to a browser's developer console or a terminal.
JavaScript
4
star
23

yfft-rs

Simple FFT library written in Rust (abandoned)
Rust
4
star
24

actix_lambda_http

Actix Web Framework 1.x ←🔗→ AWS Lambda + API Gateway
Rust
3
star
25

openspades-voxlap

C++
3
star
26

queen-compiler

Not so useful compiler that mainly targets .NET output
C#
3
star
27

threejs-geometry-hittest

Checks whether a THREE.Geometry intersects with a primitive shape
JavaScript
3
star
28

openspades-paks

Shell
3
star
29

tcw

Lightweight and Thin GUI Toolkit for SDL Based C++ Applications
C++
2
star
30

zhang_hilbert

A Rust crate for generating an arbitrary-sized pseudo-Hilbert scan
Rust
2
star
31

yvt-pysnip-scripts

Add-on scripts for piqueserver and PySnip
Python
2
star
32

BloodyKart

my very old work (quite incomplete)
Logos
2
star
33

pvfilt

Extract numbers from a program's output to display a progress bar, etc.
Rust
2
star
34

shell-graphics

Bitmap manipulation library written in a bash shell script.
Shell
2
star
35

xpcom-mono-interop-test

Makefile
1
star
36

flags-macro-rs

Provides a helper macro for writing bitflags in Rust.
Rust
1
star
37

alt_fp-rs

Alternative implementation for floating-point operations.
Rust
1
star
38

gyuto_nu

Ruby
1
star
39

MagicHand

Control your computer using web technology
C++
1
star
40

macropol-rs

Ergonomic string literal interpolation in macro definitions
Rust
1
star
41

interlock-rs

Readers-writer locks optimized for locking intervals
Rust
1
star
42

openspades-media

OpenSpades related media files (alternative for now-deprecated Dropbox Public folder)
HTML
1
star
43

veisku

Opinionated, personal file-oriented document manager (moved to <https://codeberg.org/yvt/veisku>)
Rust
1
star
44

dotfiles

somepony likes to share their dotfiles (moved to <https://codeberg.org/yvt/dotfiles>)
Nix
1
star
45

RoundTripOpus

VST/AudioUnit effect that encodes and decodes audio using Opus
C++
1
star
46

Merlion

Dynamically configurable load balancer with .NET realtime network application server
C++
1
star