board.c 739 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * File : board.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2009, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2010-06-29 lgnq the first version
  13. *
  14. * For : NEC V850E
  15. * Toolchain : IAR Embedded Workbench for V850 v3.71
  16. */
  17. #include <rthw.h>
  18. #include <rtthread.h>
  19. #include "uart.h"
  20. #include "board.h"
  21. void rt_hw_board_init()
  22. {
  23. #ifdef RT_USING_UART0
  24. rt_hw_uart_init();
  25. rt_console_set_device("uart0");
  26. #endif
  27. rt_kprintf("\r\n\r\nSystemInit......\r\n");
  28. }