board.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * File : board.h
  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. * 2009-09-22 Bernard add board.h to this bsp
  13. * 2010-02-04 Magicoe add board.h to LPC176x bsp
  14. */
  15. #ifndef __BOARD_H__
  16. #define __BOARD_H__
  17. #include "LPC177x_8x.h"
  18. /* whether use board external SDRAM memory */
  19. // <e>Use external SDRAM memory on the board
  20. // <i>Enable External SDRAM memory
  21. #define LPC_EXT_SDRAM 0
  22. // <o>Begin Address of External SDRAM
  23. // <i>Default: 0x60000000
  24. #define LPC_EXT_SDRAM_BEGIN 0xA0000000 /* the begining address of external SDRAM */
  25. // <o>End Address of External SDRAM
  26. // <i>Default: 0x60000000
  27. #define LPC_EXT_SDRAM_END 0xA4000000 /* the end address of external SDRAM */
  28. // </e>
  29. /* RT_USING_UART */
  30. #define RT_UART_RX_BUFFER_SIZE 64
  31. #define RT_USING_UART0
  32. //#define RT_USING_UART1
  33. //#define RT_USING_UART2
  34. #define CONSOLE_DEVICE "uart0"
  35. #define FINSH_DEVICE_NAME CONSOLE_DEVICE
  36. void rt_hw_board_init(void);
  37. #endif