rt-thread-official/bsp/raspberry-pico/board/board.h

22 lines
474 B
C
Raw Normal View History

2021-01-28 19:59:31 +08:00
/*
2023-02-02 12:19:33 +08:00
* Copyright (c) 2006-2023, RT-Thread Development Team
2021-01-28 19:59:31 +08:00
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-01-28 flybreak first version
2021-01-28 19:59:31 +08:00
*/
#ifndef __BOARD_H__
#define __BOARD_H__
#define PICO_SRAM_SIZE 256
#define PICO_SRAM_END (0x20000000 + PICO_SRAM_SIZE * 1024)
extern int __bss_end__;
#define HEAP_BEGIN (&__bss_end__)
#define HEAP_END ((void *)PICO_SRAM_END)
2021-01-28 19:59:31 +08:00
#endif