board.h 610 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. * 2017-5-30 Bernard the first version
  9. */
  10. #ifndef BOARD_H__
  11. #define BOARD_H__
  12. #include <rtconfig.h>
  13. #if PKG_KENDRYTE_SDK_VERNUM < 0x0054
  14. #error The version of Kendryte sdk is too old, please update to V0.5.4 or newer
  15. #endif
  16. extern unsigned int __bss_start;
  17. extern unsigned int __bss_end;
  18. #define RT_HW_HEAP_BEGIN (void*)&__bss_end
  19. #define RT_HW_HEAP_END (void*)(0x80000000 + 6 * 1024 * 1024)
  20. void rt_hw_board_init(void);
  21. #endif