Add hello world to baremetal tests

This commit is contained in:
Jerry Zhao
2023-03-25 21:35:20 -07:00
parent f474646c17
commit c1d609a03c
2 changed files with 8 additions and 1 deletions

View File

@@ -6,7 +6,8 @@ LDFLAGS= -static
include libgloss.mk
PROGRAMS = pwm blkdev accum charcount nic-loopback big-blkdev pingd \
streaming-passthrough streaming-fir nvdla spiflashread spiflashwrite fft gcd
streaming-passthrough streaming-fir nvdla spiflashread spiflashwrite fft gcd \
hello
spiflash.img: spiflash.py
python3 $<

6
tests/hello.c Normal file
View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int main(void) {
printf("Hello world\n");
return 0;
}