/**
* \file
* <!--
+ * This file is part of BeRTOS.
+ *
+ * Bertos 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * As a special exception, you may use this file as part of a free software
+ * library without restriction. Specifically, if other files instantiate
+ * templates or use macros or inline functions from this file, or you compile
+ * this file and link it with other files to produce an executable, this
+ * file does not by itself cause the resulting executable to be covered by
+ * the GNU General Public License. This exception does not however
+ * invalidate any other reasons why the executable file might be covered by
+ * the GNU General Public License.
+ *
* Copyright 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* Copyright 2004 Giovanni Bajo
* This file is part of DevLib - See README.devlib for information.
* -->
*
* \brief CPU detection through special preprocessor macros
- *
*/
-
-/*#*
- *#* $Log$
- *#* Revision 1.6 2007/06/07 14:42:54 batt
- *#* Merge from project_ks.
- *#*
- *#* Revision 1.5 2007/01/27 20:48:36 batt
- *#* Add support for ATMEGA1281.
- *#*
- *#* Revision 1.4 2006/07/19 12:56:25 bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.3 2006/02/10 12:37:37 bernie
- *#* Add support for ARM on IAR.
- *#*
- *#* Revision 1.2 2005/06/14 06:15:10 bernie
- *#* Add X86_64 support.
- *#*
- *#* Revision 1.1 2005/04/11 19:04:13 bernie
- *#* Move top-level headers to cfg/ subdir.
- *#*
- *#* Revision 1.4 2005/02/16 20:33:24 bernie
- *#* Preliminary PPC support.
- *#*
- *#* Revision 1.3 2004/12/31 17:39:26 bernie
- *#* Use C89 comments only.
- *#*
- *#* Revision 1.2 2004/08/25 14:12:08 rasky
- *#* Aggiornato il comment block dei log RCS
- *#*
- *#* Revision 1.1 2004/07/30 17:14:49 rasky
- *#* File sfuggito al commit precedente (nuova gestione unificata del detect della CPU
- *#*
- *#* Revision 1.2 2004/07/30 10:31:07 rasky
- *#* Aggiunto detect per ATmega128
- *#*/
-
#ifndef CPU_DETECT_H
#define CPU_DETECT_H
#if (defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)) \
&& !defined(__ARM4TM__) /* IAR: if not ARM assume I196 */
+ #warning Assuming CPU is I196
#define CPU_I196 1
#define CPU_ID i196
#else