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)
|
|
|
|
{
|
2024-04-08 00:35:53 +08:00
|
|
|
#ifdef RT_USING_SMART
|
2023-06-30 00:05:55 +08:00
|
|
|
rt_kprintf("Hello RT-Smart!\n");
|
2024-04-08 00:35:53 +08:00
|
|
|
#else
|
|
|
|
rt_kprintf("Hello RISC-V!\n");
|
|
|
|
#endif
|
2023-06-30 00:05:55 +08:00
|
|
|
return 0;
|
|
|
|
}
|