mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 00:40:25 +08:00
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 <rthw.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("Hello RISC-V\n");
|
||||
rt_kprintf("Hello RISC-V\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user