📄 board.h
字号:
/* * $Id: board.h,v 1.1 2002/12/05 22:20:38 telka Exp $ * * Common board declarations for C and Assembler * Copyright (C) 2002 ETC s.r.o. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * Written by Marcel Telka <marcel@telka.sk>, 2002. * */#ifndef BOARD_H#define BOARD_H/* boards */#define EI370 1 /* WID fv1 */#define EP002 2 /* WID pt1 */#define EP202 3 /* WID pt2 */#define EP250 4 /* WEP *//* processors */#define SA1110 1#define PXA250 2#if !defined(BOARD)# error BOARD not defined!#elif (BOARD == EI370) || (BOARD == EP002) || (BOARD == EP202)# define CPU SA1110# define WID BOARD#elif BOARD == EP250# define CPU PXA250# define WEP BOARD#else# error Unknown BOARD!#endif#if CPU == SA1110# include "sa1110.h"#endif#if CPU == PXA250# include "pxa250.h"#endif/* configuration */#undef HAVE_PP#undef HAVE_USB/* board includes */#if defined(WID)# include "wid.h"#endif#if defined(WEP)# include "wep.h"#endif#endif /* BOARD_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -