Browse Source

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

Shell 10 months ago
parent
commit
b6f1b16d7a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bsp/qemu-virt64-riscv/applications/main.c

+ 1 - 2
bsp/qemu-virt64-riscv/applications/main.c

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