You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
450 B
29 lines
450 B
|
5 months ago
|
/*
|
||
|
|
* Copyright (c) 2006-2026, RT-Thread Development Team
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*
|
||
|
|
* Change Logs:
|
||
|
|
* Date Author Notes
|
||
|
|
* 2026-02-11 RT-Thread first version
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <rtthread.h>
|
||
|
|
|
||
|
|
#define DBG_TAG "main"
|
||
|
|
#define DBG_LVL DBG_LOG
|
||
|
|
#include <rtdbg.h>
|
||
|
|
|
||
|
|
int main(void)
|
||
|
|
{
|
||
|
|
int count = 1;
|
||
|
|
LOG_D("Hello RT-Thread!");
|
||
|
|
|
||
|
|
while (count++)
|
||
|
|
{
|
||
|
|
rt_thread_mdelay(1000);
|
||
|
|
}
|
||
|
|
|
||
|
|
return RT_EOK;
|
||
|
|
}
|