main.c 372 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. */
  9. #include <rtthread.h>
  10. #include <stdio.h>
  11. int main(void)
  12. {
  13. printf("Hello RISC-V\n");
  14. #ifdef BSP_USING_LCD
  15. extern int rt_hw_lcd_init(void);
  16. rt_hw_lcd_init();
  17. #endif // BSP_USING_LCD
  18. return 0;
  19. }