main.c 362 B

123456789101112131415161718192021
  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. #include <rtdevice.h>
  13. #include "drv_gpio.h"
  14. int main(void)
  15. {
  16. rt_kprintf("Hello, RISC-V!\n");
  17. return 0;
  18. }