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

23 lines
388 B
C
Executable File

/*
* 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
rt_kprintf("Hello RT-Smart!\n");
#else
rt_kprintf("Hello RISC-V!\n");
#endif
return 0;
}