board.h 636 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022/03/15 flyingcys first version
  9. */
  10. #ifndef BOARD_H__
  11. #define BOARD_H__
  12. #include <rtconfig.h>
  13. #include "bflb_uart.h"
  14. #include "bflb_gpio.h"
  15. #include "bflb_clock.h"
  16. #include "bflb_rtc.h"
  17. #include "bflb_flash.h"
  18. #include "bl602_glb.h"
  19. #define HW_MTIMER_CLOCK 1000000
  20. extern uint8_t __HeapBase;
  21. extern uint8_t __HeapLimit;
  22. #define RT_HW_HEAP_BEGIN (void*)&__HeapBase
  23. #define RT_HW_HEAP_END (void*)&__HeapLimit
  24. void rt_hw_board_init(void);
  25. #endif