1
0

board.h 660 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. * 2011-01-13 weety add board.h to this bsp
  9. */
  10. #ifndef __BOARD_H__
  11. #define __BOARD_H__
  12. #include <asm9260t.h>
  13. #if defined(__CC_ARM)
  14. extern int Image$$ER_ZI$$ZI$$Limit;
  15. #define HEAP_BEGIN (&Image$$ER_ZI$$ZI$$Limit)
  16. #elif(defined(__GNUC__))
  17. extern unsigned char __bss_end__;
  18. #define HEAP_BEGIN (&__bss_end__)
  19. #elif(defined(__ICCARM__))
  20. #pragma section = ".noinit"
  21. #define HEAP_BEGIN (__section_end(".noinit"))
  22. #endif
  23. #define HEAP_END (0x22000000)
  24. extern void rt_hw_board_init(void);
  25. #endif