rt-thread-am/bsp/abstract-machine/src/hello.c

8 lines
129 B
C

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