board.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2009-09-22 Bernard add board.h to this bsp
  9. * 2010-02-04 Magicoe add board.h to LPC176x bsp
  10. */
  11. #ifndef __BOARD_H__
  12. #define __BOARD_H__
  13. #include "LPC177x_8x.h"
  14. // <RDTConfigurator URL="http://www.rt-thread.com/eclipse">
  15. // <integer name="LPC_EXT_SDRAM" description="Enable External SDRAM memory" default="0" />
  16. #define LPC_EXT_SDRAM 1
  17. // <integer name="LPC_EXT_SDRAM" description="Begin Address of External SDRAM" default="0xA0000000" />
  18. #define LPC_EXT_SDRAM_BEGIN 0xA0000000
  19. // <integer name="LPC_EXT_SDRAM_END" description="End Address of External SDRAM" default="0xA4000000" />
  20. #define LPC_EXT_SDRAM_END 0xA4000000
  21. // <bool name="RT_USING_UART0" description="Using UART0" default="true" />
  22. #define RT_USING_UART0
  23. // <bool name="RT_USING_UART1" description="Using UART1" default="true" />
  24. //#define RT_USING_UART1
  25. // <bool name="RT_USING_UART2" description="Using UART2" default="true" />
  26. //#define RT_USING_UART2
  27. // <string name="RT_CONSOLE_DEVICE_NAME" description="The device name for console" default="uart" />
  28. #define RT_CONSOLE_DEVICE_NAME "uart0"
  29. // </RDTConfigurator>
  30. #define FINSH_DEVICE_NAME RT_CONSOLE_DEVICE_NAME
  31. void rt_hw_board_init(void);
  32. #endif