2018-08-23 09:52:41 +08:00
|
|
|
/*
|
2021-04-09 10:52:34 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2018-08-23 09:52:41 +08:00
|
|
|
*
|
2021-04-09 10:52:34 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2018-08-23 09:52:41 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-5-30 Bernard the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H__
|
|
|
|
#define BOARD_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <rthw.h>
|
|
|
|
#include <bcm283x.h>
|
|
|
|
|
|
|
|
extern unsigned char __bss_start;
|
|
|
|
extern unsigned char __bss_end;
|
|
|
|
|
|
|
|
#define RT_HW_HEAP_BEGIN (void*)&__bss_end
|
|
|
|
#define RT_HW_HEAP_END (void*)(0x0 + 4 * 1024 * 1024)
|
|
|
|
|
|
|
|
void rt_hw_board_init(void);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|