bsp,abstract-machine: add hello application through initcall
This commit is contained in:
parent
624077b98c
commit
0a091fd303
1 changed files with 8 additions and 0 deletions
8
bsp/abstract-machine/src/hello.c
Normal file
8
bsp/abstract-machine/src/hello.c
Normal 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);
|
Loading…
Add table
Reference in a new issue