| 12345678910111213141516171819202122232425262728 |
- /*
- * Copyright (c) 2006-2024, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2024-11-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;
- while (count++)
- {
- LOG_D("Hello RT-Thread!");
- rt_thread_mdelay(1000);
- }
- return RT_EOK;
- }
|