rt-thread-official/bsp/allwinner/d1s/applications/main.c

24 lines
372 B
C
Raw Normal View History

/*
* 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)
{
printf("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;
}