mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-22 06:53:22 +08:00
d8aa99a29c
* the initial support of synopsys designware arc processor * the initial support of synospsy ARC EM Starter Kit * the bsp code is based on embarc which is a common SDK for all synopsys ARC-based boards * use "scons --gdb" to debug emsk with em9d configuration * for detailed board information, pls go embarc.org Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
29 lines
500 B
C
29 lines
500 B
C
/*
|
|
* Copyright (c) 2018, Synopsys, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __BOARD_H__
|
|
#define __BOARD_H__
|
|
|
|
#include "emsk_hardware.h"
|
|
|
|
#define BOARD_OS_TIMER_ID 0
|
|
#define BOARD_OS_TIMER_INTNO 16
|
|
#define BOARD_CPU_CLOCK 25000000
|
|
|
|
#if defined(__GNUC__)
|
|
extern int __start_heap;
|
|
#define HEAP_BEGIN ((void*)&__start_heap)
|
|
#endif
|
|
|
|
extern int __end_heap;
|
|
#define HEAP_END (void*)(&__end_heap)
|
|
|
|
void rt_hw_board_init();
|
|
|
|
int rt_hw_uart_init(void);
|
|
|
|
#endif
|