board.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. * 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. #ifdef __CC_ARM
  22. extern int Image$$RW_IRAM1$$ZI$$Limit;
  23. #elif __ICCARM__
  24. #pragma section="HEAP"
  25. #else
  26. extern int __bss_end;
  27. #endif
  28. #define FINSH_DEVICE_NAME RT_CONSOLE_DEVICE_NAME
  29. void rt_hw_board_init(void);
  30. #endif