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>
|
2018-10-19 16:45:41 +08:00
|
|
|
#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");
|
2018-10-19 16:45:41 +08:00
|
|
|
rt_wlan_set_mode(RT_WLAN_DEVICE_STA_NAME, RT_WLAN_STATION);
|
2018-06-14 10:34:31 +08:00
|
|
|
return 0;
|
|
|
|
}
|