You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
671 B
32 lines
671 B
10 months ago
|
/*
|
||
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2013-07-06 Bernard the first version
|
||
|
*/
|
||
|
|
||
|
#ifndef __BOARD_H__
|
||
|
#define __BOARD_H__
|
||
|
|
||
|
#include <am33xx.h>
|
||
|
|
||
|
#if defined(__CC_ARM)
|
||
|
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
||
|
#define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
|
||
|
#elif defined(__ICCARM__)
|
||
|
#pragma section="CSTACK"
|
||
|
#define HEAP_BEGIN (__segment_end("CSTACK"))
|
||
|
#elif defined(__GNUC__)
|
||
|
extern int __bss_end;
|
||
|
#define HEAP_BEGIN ((void*)&__bss_end)
|
||
|
#endif
|
||
|
|
||
|
#define HEAP_END (void*)0x90000000
|
||
|
|
||
|
void rt_hw_board_init(void);
|
||
|
|
||
|
#endif
|