board.h 474 B

123456789101112131415161718192021
  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. * 2021-01-28 flybreak first version
  9. */
  10. #ifndef __BOARD_H__
  11. #define __BOARD_H__
  12. #define PICO_SRAM_SIZE 256
  13. #define PICO_SRAM_END (0x20000000 + PICO_SRAM_SIZE * 1024)
  14. extern int __bss_end__;
  15. #define HEAP_BEGIN (&__bss_end__)
  16. #define HEAP_END ((void *)PICO_SRAM_END)
  17. #endif