main.c 378 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022/12/25 flyingcys first version
  9. */
  10. #include <rtthread.h>
  11. #include <stdio.h>
  12. int main(void)
  13. {
  14. while(1)
  15. {
  16. rt_kprintf("Hello, RISC-V!\n");
  17. rt_thread_delay(5000);
  18. }
  19. return 0;
  20. }