1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2013-07-06     Bernard    the first version
9  */
10 
11 #ifndef __BOARD_H__
12 #define __BOARD_H__
13 
14 #include "ft_parameters.h"
15 #include "ft2004.h"
16 
17 #if defined(__CC_ARM)
18 extern int Image$$RW_IRAM1$$ZI$$Limit;
19 #define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
20 #elif defined(__GNUC__)
21 extern int __bss_end;
22 #define HEAP_BEGIN ((void *)&__bss_end)
23 #endif
24 
25 #define HEAP_END (void *)(0x80000000 + 1024 * 1024 * 1024)
26 
27 void rt_hw_board_init(void);
28 
29 #endif
30