2018-12-18 21:01:03 +08:00
|
|
|
/*
|
2021-10-14 16:31:46 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2018-12-18 21:01:03 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-5-30 Bernard the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H__
|
|
|
|
#define BOARD_H__
|
|
|
|
|
2019-05-11 14:49:43 +08:00
|
|
|
#include <rtconfig.h>
|
|
|
|
|
|
|
|
#if PKG_KENDRYTE_SDK_VERNUM < 0x0054
|
|
|
|
#error The version of Kendryte sdk is too old, please update to V0.5.4 or newer
|
|
|
|
#endif
|
|
|
|
|
2018-12-18 21:01:03 +08:00
|
|
|
extern unsigned int __bss_start;
|
|
|
|
extern unsigned int __bss_end;
|
|
|
|
|
|
|
|
#define RT_HW_HEAP_BEGIN (void*)&__bss_end
|
|
|
|
#define RT_HW_HEAP_END (void*)(0x80000000 + 6 * 1024 * 1024)
|
|
|
|
|
|
|
|
void rt_hw_board_init(void);
|
|
|
|
|
|
|
|
#endif
|