rt-thread-official/bsp/cvitek/cv18xx_risc-v/applications/main.c

23 lines
388 B
C
Raw Normal View History

2023-06-30 00:05:55 +08:00
/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023/06/25 flyingcys first version
*/
#include <rtthread.h>
#include <stdio.h>
int main(void)
{
#ifdef RT_USING_SMART
2023-06-30 00:05:55 +08:00
rt_kprintf("Hello RT-Smart!\n");
#else
rt_kprintf("Hello RISC-V!\n");
#endif
2023-06-30 00:05:55 +08:00
return 0;
}