1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2017-5-30 Bernard the first version 9 */ 10 11 #ifndef BOARD_H__ 12 #define BOARD_H__ 13 14 #include <stdint.h> 15 16 #include <rthw.h> 17 #include "raspi.h" 18 19 #define __REG32 HWREG32 20 extern unsigned char __bss_start; 21 extern unsigned char __bss_end; 22 23 #define RT_HW_HEAP_BEGIN (void*)&__bss_end 24 #define RT_HW_HEAP_END (void*)(RT_HW_HEAP_BEGIN + 4 * 1024 * 1024) 25 26 void rt_hw_board_init(void); 27 28 #endif 29 30