summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/RP2350/board/board.h
blob: 78a67b7008c284c7652924def3a4fb37c3d5bea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author         Notes
 * 2021-01-28     flybreak       first version
 */

#ifndef __BOARD_H__
#define __BOARD_H__

#define PICO_SRAM_SIZE         520
#define PICO_SRAM_END          (0x20000000 + PICO_SRAM_SIZE * 1024)

extern int _sstack;
#define HEAP_BEGIN      (&_sstack)
#define HEAP_END        ((void *)PICO_SRAM_END)

#endif