board.c 580 B

1234567891011121314151617181920212223242526272829303132
  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-04-09 fify the first version
  9. *
  10. * For : Renesas M16C
  11. * Toolchain : IAR's EW for M16C v3.401
  12. */
  13. #include <rthw.h>
  14. #include <rtthread.h>
  15. #include "uart.h"
  16. #include "board.h"
  17. /**
  18. * This function will initial m16c board.
  19. */
  20. void rt_hw_board_init(void)
  21. {
  22. #ifdef RT_USING_UART0
  23. rt_hw_uart_init();
  24. rt_console_set_device("uart0");
  25. #endif
  26. rt_kprintf("\r\n\r\nSystemInit......\r\n");
  27. }