board.h 528 字节
Newer Older
B
bigmagic 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-04-05     bigmagic     the first version
 */

#ifndef BOARD_H__
#define BOARD_H__

#include <stdint.h>

extern unsigned char __bss_end;

B
bigmagic 已提交
18
#define CPU_HZ              (1000 * 1000 * 1000) //QEMU 200*1000*1000
B
bigmagic 已提交
19
#define RT_HW_HEAP_BEGIN    (void*)&__bss_end
B
bigmagic 已提交
20 21 22 23 24
#define RT_HW_HEAP_END      (void*)(RT_HW_HEAP_BEGIN + 64 * 1024 * 1024)

void rt_hw_board_init(void);

#endif