1
0

application.c 467 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2008-12-11 xuxinming the first version
  9. */
  10. #include <rtthread.h>
  11. #ifdef RT_USING_FINSH
  12. #include <shell.h>
  13. #include <finsh.h>
  14. #endif
  15. /**
  16. * @addtogroup LPC2478
  17. */
  18. /*@{*/
  19. int rt_application_init()
  20. {
  21. #ifdef RT_USING_FINSH
  22. /* init finsh */
  23. finsh_system_init();
  24. #endif
  25. return 0;
  26. }
  27. /*@}*/