rt-thread-official/bsp/ls2kdev/drivers/board.h

25 lines
528 B
C
Raw Normal View History

2020-04-05 13:29:29 +08:00
/*
* 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;
2020-09-11 11:44:49 +08:00
#define CPU_HZ (1000 * 1000 * 1000) //QEMU 200*1000*1000
2020-09-04 09:38:01 +08:00
#define RT_HW_HEAP_BEGIN (void*)&__bss_end
2020-04-05 13:29:29 +08:00
#define RT_HW_HEAP_END (void*)(RT_HW_HEAP_BEGIN + 64 * 1024 * 1024)
void rt_hw_board_init(void);
#endif