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 * 2011-01-13 weety add board.h to this bsp 9 */ 10 11 #ifndef __BOARD_H__ 12 #define __BOARD_H__ 13 14 #include <asm9260t.h> 15 16 #if defined(__CC_ARM) 17 extern int Image$$ER_ZI$$ZI$$Limit; 18 #define HEAP_BEGIN (&Image$$ER_ZI$$ZI$$Limit) 19 #elif(defined(__GNUC__)) 20 extern unsigned char __bss_end__; 21 #define HEAP_BEGIN (&__bss_end__) 22 #elif(defined(__ICCARM__)) 23 #pragma section = ".noinit" 24 #define HEAP_BEGIN (__section_end(".noinit")) 25 #endif 26 27 #define HEAP_END (0x22000000) 28 29 30 extern void rt_hw_board_init(void); 31 32 #endif 33