board.h 862 B

123456789101112131415161718192021222324252627282930313233343536373839
  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/12/25 flyingcys first version
  9. * 2023/03/15 flyingcys update bsp file structure
  10. */
  11. #ifndef BOARD_H__
  12. #define BOARD_H__
  13. #include <rtconfig.h>
  14. #include "bflb_uart.h"
  15. #include "bflb_gpio.h"
  16. #include "bflb_clock.h"
  17. #include "bflb_rtc.h"
  18. #include "bflb_flash.h"
  19. #include "bl808_glb.h"
  20. #include "bl808_psram_uhs.h"
  21. #include "bl808_tzc_sec.h"
  22. #include "bl808_ef_cfg.h"
  23. #include "bl808_uhs_phy.h"
  24. #define CONFIG_D0_FLASH_ADDR 0x100000
  25. #define CONFIG_LP_FLASH_ADDR 0x0C0000
  26. extern uint8_t __HeapBase;
  27. extern uint8_t __HeapLimit;
  28. #define RT_HW_HEAP_BEGIN (void*)&__HeapBase
  29. #define RT_HW_HEAP_END (void*)&__HeapLimit
  30. void rt_hw_board_init(void);
  31. #endif