hello.c 431 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2025 RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2025-06-21 Bernard First version
  9. */
  10. #include <rtthread.h>
  11. #include "hello.h"
  12. /**
  13. * @brief Hello world function implementation
  14. *
  15. * This function prints "Hello World!" to the console using rt_kprintf
  16. */
  17. void hello_world(void)
  18. {
  19. rt_kprintf("Hello World!\n");
  20. }