bsp,abstract-machine: add hello application through initcall

This commit is contained in:
Zihao Yu 2023-05-24 14:32:39 +08:00
parent 624077b98c
commit 0a091fd303

View file

@ -0,0 +1,8 @@
#include <klib.h>
#include <rtthread.h>
static int hello() {
printf("Hello RISC-V!\n");
return 0;
}
INIT_ENV_EXPORT(hello);