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.
29 lines
555 B
29 lines
555 B
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* 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 "raspi.h"
|
|
|
|
#define __REG32 HWREG32
|
|
extern unsigned char __bss_start;
|
|
extern unsigned char __bss_end;
|
|
|
|
#define RT_HW_HEAP_BEGIN (void*)&__bss_end
|
|
#define RT_HW_HEAP_END (void*)(RT_HW_HEAP_BEGIN + 4 * 1024 * 1024)
|
|
|
|
void rt_hw_board_init(void);
|
|
|
|
#endif
|
|
|
|
|