Shell 0b6aa5ae0c fixup: using rt_kprintf instead of libc API for kernel source
Signed-off-by: Shell <smokewood@qq.com>
2024-07-29 20:18:19 +08:00

24 lines
376 B
C

/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#include <rtthread.h>
#include <stdio.h>
int main(void)
{
rt_kprintf("Hello RISC-V\n");
#ifdef BSP_USING_LCD
extern int rt_hw_lcd_init(void);
rt_hw_lcd_init();
#endif // BSP_USING_LCD
return 0;
}