1 /*
2  * Copyright (c) 2006-2025, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author        Notes
8  * 2021-10-10     Sherman       first version
9  */
10 
11 #include <rtthread.h>
12 #include "hal_data.h"
13 #include <rtdevice.h>
14 
15 #define LED1_PIN    BSP_IO_PORT_02_PIN_07 /* Onboard LED pins */
hal_entry(void)16 void hal_entry(void)
17 {
18     rt_kprintf("\nHello RT-Thread!\n");
19 
20     while (1)
21     {
22         rt_pin_write(LED1_PIN, PIN_HIGH);
23         rt_thread_mdelay(500);
24         rt_pin_write(LED1_PIN, PIN_LOW);
25         rt_thread_mdelay(500);
26     }
27 }
28 
29