board.c 538 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2010-06-29 lgnq the first version
  9. *
  10. * For : NEC V850E
  11. * Toolchain : IAR Embedded Workbench for V850 v3.71
  12. */
  13. #include <rthw.h>
  14. #include <rtthread.h>
  15. #include "uart.h"
  16. #include "board.h"
  17. void rt_hw_board_init(void)
  18. {
  19. #ifdef RT_USING_UART0
  20. rt_hw_uart_init();
  21. rt_console_set_device("uart0");
  22. #endif
  23. rt_kprintf("\r\n\r\nSystemInit......\r\n");
  24. }