board.h 570 B

12345678910111213141516171819202122232425262728
  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. * 2013-07-06 Bernard the first version
  9. */
  10. #ifndef __BOARD_H__
  11. #define __BOARD_H__
  12. #include <am33xx.h>
  13. #if defined(__CC_ARM)
  14. extern int Image$$RW_IRAM1$$ZI$$Limit;
  15. #define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
  16. #elif defined(__GNUC__)
  17. extern int __bss_end;
  18. #define HEAP_BEGIN ((void*)&__bss_end)
  19. #endif
  20. #define HEAP_END (void*)0x90000000
  21. void rt_hw_board_init(void);
  22. #endif