board.h 523 B

123456789101112131415161718192021222324252627
  1. /*
  2. * File : board.h
  3. * Copyright (c) 2006-2022, RT-Thread Development Team
  4. *
  5. * SPDX-License-Identifier: Apache-2.0
  6. *
  7. * Change Logs:
  8. * Date Author Notes
  9. * 2013-07-06 Bernard the first version
  10. */
  11. #ifndef __BOARD_H__
  12. #define __BOARD_H__
  13. #include <virt.h>
  14. extern unsigned char __bss_start;
  15. extern unsigned char __bss_end;
  16. #define HEAP_BEGIN (void *)&__bss_end
  17. #define HEAP_END ((void *)HEAP_BEGIN + 64 * 1024 * 1024)
  18. void rt_hw_board_init(void);
  19. int rt_hw_uart_init(void);
  20. #endif