From: batt Date: Sat, 27 Jan 2007 20:48:36 +0000 (+0000) Subject: Add support for ATMEGA1281. X-Git-Tag: 1.0.0~502 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=80733b2809b5cc13bf38f0cbc147e18d1d233435;p=bertos.git Add support for ATMEGA1281. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@739 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/cfg/cpu_detect.h b/cfg/cpu_detect.h index 2a285ba3..8be9c32b 100755 --- a/cfg/cpu_detect.h +++ b/cfg/cpu_detect.h @@ -12,6 +12,9 @@ /*#* *#* $Log$ + *#* 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. *#* @@ -130,12 +133,19 @@ #else #define CPU_AVR_ATMEGA8 0 #endif + + #if defined(__AVR_ATmega1281__) + #define CPU_AVR_ATMEGA1281 1 + #else + #define CPU_AVR_ATMEGA1281 0 + #endif #else #define CPU_AVR 0 #define CPU_AVR_ATMEGA8 0 #define CPU_AVR_ATMEGA64 0 #define CPU_AVR_ATMEGA103 0 #define CPU_AVR_ATMEGA128 0 + #define CPU_AVR_ATMEGA1281 0 #endif