board.h 747 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2013, 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. * 2013-07-06 Bernard the first version
  13. */
  14. #ifndef __BOARD_H__
  15. #define __BOARD_H__
  16. #include <am33xx.h>
  17. #if defined(__CC_ARM)
  18. extern int Image$$RW_IRAM1$$ZI$$Limit;
  19. #define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
  20. #elif defined(__GNUC__)
  21. extern int __bss_end;
  22. #define HEAP_BEGIN ((void*)&__bss_end)
  23. #endif
  24. #define HEAP_END (void*)0x90000000
  25. void rt_hw_board_init(void);
  26. #endif