main.c 663 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * File : startup.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006, RT-Thread Develop Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://openlab.rt-thread.com/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2006-08-31 Bernard first implementation
  13. * 2018-03-01 flyingcys add realtek ameba
  14. */
  15. #include <rthw.h>
  16. #include <rtthread.h>
  17. /**
  18. * @addtogroup ameba
  19. */
  20. /*@{*/
  21. int main(void)
  22. {
  23. rt_kprintf("build time: %s %s\n", __DATE__, __TIME__);
  24. rt_kprintf("Hello RT-Thread!\n");
  25. return 0;
  26. }
  27. /*@}*/