2020-11-30 13:13:08 +08:00
|
|
|
#ifndef __BOARD_H__
|
|
|
|
#define __BOARD_H__
|
|
|
|
|
|
|
|
#include "zynqmp-r5.h"
|
|
|
|
|
|
|
|
#if defined(__CC_ARM)
|
|
|
|
extern int Image$$RW_IRAM1$$ZI$$Limit;
|
|
|
|
#define HEAP_BEGIN ((void*)&Image$$RW_IRAM1$$ZI$$Limit)
|
|
|
|
#elif defined(__GNUC__)
|
|
|
|
extern int __bss_end;
|
|
|
|
#define HEAP_BEGIN ((void*)&__bss_end)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define HEAP_END (void*)(0x80000000)
|
|
|
|
|
|
|
|
void rt_hw_board_init();
|
|
|
|
|
2022-01-09 20:19:55 +08:00
|
|
|
#endif
|