feat: bsp: qemu-riscv64: using klibc API for printf

This commit is contained in:
Shell 2024-08-28 20:53:54 +08:00 committed by Meco Man
parent a5042f5bb5
commit b6f1b16d7a
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}