rt-thread-official/bsp/amebaz/applications/main.c

23 lines
519 B
C
Raw Normal View History

2018-06-14 10:34:31 +08:00
/*
2021-03-29 07:25:10 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
2018-06-14 10:34:31 +08:00
*
2021-03-29 07:25:10 +08:00
* SPDX-License-Identifier: Apache-2.0
2018-06-14 10:34:31 +08:00
*
* Change Logs:
* Date Author Notes
* 2006-08-31 Bernard first implementation
* 2018-03-01 flyingcys add realtek ameba
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
2018-06-14 10:34:31 +08:00
int main(void)
{
rt_kprintf("build time: %s %s\n", __DATE__, __TIME__);
rt_kprintf("Hello RT-Thread!\n");
rt_wlan_set_mode(RT_WLAN_DEVICE_STA_NAME, RT_WLAN_STATION);
2018-06-14 10:34:31 +08:00
return 0;
}