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

27 lines
698 B
C
Raw Normal View History

2018-06-14 10:34:31 +08:00
/*
* File : startup.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
*
* 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;
}