board.h 528 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-04-05 bigmagic the first version
  9. */
  10. #ifndef BOARD_H__
  11. #define BOARD_H__
  12. #include <stdint.h>
  13. extern unsigned char __bss_end;
  14. #define CPU_HZ (1000 * 1000 * 1000) //QEMU 200*1000*1000
  15. #define RT_HW_HEAP_BEGIN (void*)&__bss_end
  16. #define RT_HW_HEAP_END (void*)(RT_HW_HEAP_BEGIN + 64 * 1024 * 1024)
  17. void rt_hw_board_init(void);
  18. #endif