4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 06:19:24 +08:00
2017-12-31 20:28:34 +08:00

30 lines
635 B
C

/*
* 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)
{
#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)
{
rt_thread_delay(RT_TICK_PER_SECOND);
}
}