board.h 698 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2009-09-22 Bernard add board.h to this bsp
  9. */
  10. // <<< Use Configuration Wizard in Context Menu >>>
  11. #ifndef __BOARD_H__
  12. #define __BOARD_H__
  13. #include "pico/stdlib.h"
  14. #include "hardware/pll.h"
  15. #include "hardware/clocks.h"
  16. #include "hardware/structs/pll.h"
  17. #include "hardware/structs/clocks.h"
  18. #define PICO_SRAM_SIZE 256
  19. #define PICO_SRAM_END (0x20000000 + PICO_SRAM_SIZE * 1024)
  20. extern int __bss_end;
  21. #define HEAP_BEGIN (&__bss_end)
  22. #define HEAP_END PICO_SRAM_END
  23. int rt_hw_uart_init(void);
  24. #endif