main.c 436 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-10-12 Steven Liu the first version
  9. */
  10. #include <rtthread.h>
  11. #include <rtdevice.h>
  12. int main(int argc, char **argv)
  13. {
  14. rt_kprintf("Hello RK2108 RT-Thread!\n");
  15. return RT_EOK;
  16. }
  17. void _start()
  18. {
  19. extern int rtthread_startup(void);
  20. rtthread_startup();
  21. }