rt-thread/bsp/nuvoton_nuc472/applications/application.c

30 lines
635 B
C
Raw Normal View History

2017-12-17 12:08:31 +08:00
/*
* File : main.c
* This file is part of RT-Thread RTOS
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2017-12-12 Bluebear233 first implementation
*/
#include <rtconfig.h>
#include <rtthread.h>
int main(void)
{
2017-12-31 20:28:34 +08:00
#ifdef RT_USING_LWIP
/* initialize eth interface */
extern void rt_hw_nuc472_emac_init(void);
rt_hw_nuc472_emac_init();
#endif /* RT_USING_LWIP */
while(1)
{
2017-12-17 12:08:31 +08:00
rt_thread_delay(RT_TICK_PER_SECOND);
}
}