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 <am33xx.h>
15 
16 #if defined(__CC_ARM)
17 extern int Image$$RW_IRAM1$$ZI$$Limit;
18 #define HEAP_BEGIN      ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
19 #elif defined(__ICCARM__)
20 #pragma section="CSTACK"
21 #define HEAP_BEGIN      (__segment_end("CSTACK"))
22 #elif defined(__GNUC__)
23 extern int __bss_end;
24 #define HEAP_BEGIN      ((void*)&__bss_end)
25 #endif
26 
27 #define HEAP_END        (void*)0x90000000
28 
29 void rt_hw_board_init(void);
30 
31 #endif
32