From b6f1b16d7a7a61bc0b5301a6fcf084cef9f31e3b Mon Sep 17 00:00:00 2001 From: Shell Date: Wed, 28 Aug 2024 20:53:54 +0800 Subject: [PATCH] feat: bsp: qemu-riscv64: using klibc API for printf --- bsp/qemu-virt64-riscv/applications/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsp/qemu-virt64-riscv/applications/main.c b/bsp/qemu-virt64-riscv/applications/main.c index 0e369fd932..b55df4da2b 100644 --- a/bsp/qemu-virt64-riscv/applications/main.c +++ b/bsp/qemu-virt64-riscv/applications/main.c @@ -9,12 +9,11 @@ #include #include -#include #include int main(void) { - printf("Hello RISC-V\n"); + rt_kprintf("Hello RISC-V\n"); return 0; }