feat: bsp: qemu-riscv64: using klibc API for printf
This commit is contained in:
parent
a5042f5bb5
commit
b6f1b16d7a
|
@ -9,12 +9,11 @@
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <rthw.h>
|
#include <rthw.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
printf("Hello RISC-V\n");
|
rt_kprintf("Hello RISC-V\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue