2010-06-04 15:47:17 +08:00
|
|
|
/*
|
2021-03-17 02:26:35 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2010-06-04 15:47:17 +08:00
|
|
|
*
|
2018-10-22 11:02:14 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2010-06-04 15:47:17 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2008-12-11 xuxinming the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
2017-12-08 11:57:22 +08:00
|
|
|
#ifdef RT_USING_FINSH
|
|
|
|
#include <shell.h>
|
|
|
|
#include <finsh.h>
|
|
|
|
#endif
|
|
|
|
|
2010-06-04 15:47:17 +08:00
|
|
|
/**
|
|
|
|
* @addtogroup LPC2478
|
|
|
|
*/
|
|
|
|
/*@{*/
|
2009-07-03 07:19:19 +08:00
|
|
|
int rt_application_init()
|
2010-06-04 15:47:17 +08:00
|
|
|
{
|
2017-12-08 11:57:22 +08:00
|
|
|
#ifdef RT_USING_FINSH
|
|
|
|
/* init finsh */
|
|
|
|
finsh_system_init();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
return 0;
|
2010-06-04 15:47:17 +08:00
|
|
|
}
|
2009-07-03 07:19:19 +08:00
|
|
|
|
|
|
|
/*@}*/
|