Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chuckb/riscv-helloworld-c3

Bare metal C3 hello world application for RISC-V running on QEMU
https://github.com/chuckb/riscv-helloworld-c3

Last synced: 4 days ago
JSON representation

Bare metal C3 hello world application for RISC-V running on QEMU

Awesome Lists containing this project

README

        

# Risc-V 32 Embedded Example With C3 and QEMU
Example code to accompany my video RISC-V Bare Metal Hello World with C3 https://youtu.be/0iAJxx6Ok4E

This code uses the QEMU virt board UART0 to print Hello World to the console without any standard library or boot loader (other than what QEMU provides).

## Prereqs
- QEMU https://www.qemu.org/
- Risc-V toolchain https://github.com/riscv-collab/riscv-gnu-toolchain
- C3C https://github.com/c3lang/c3c
- Make

## Running
`make run`