Add hello world to baremetal tests
This commit is contained in:
@@ -6,7 +6,8 @@ LDFLAGS= -static
|
|||||||
include libgloss.mk
|
include libgloss.mk
|
||||||
|
|
||||||
PROGRAMS = pwm blkdev accum charcount nic-loopback big-blkdev pingd \
|
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
|
spiflash.img: spiflash.py
|
||||||
python3 $<
|
python3 $<
|
||||||
|
|||||||
6
tests/hello.c
Normal file
6
tests/hello.c
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
printf("Hello world\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user