From 5bdb9b134855486842dd4d1d3150ac237a06010e Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 7 Jun 2007 14:42:54 +0000 Subject: [PATCH] Merge from kseries. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@797 38d2e660-2303-0410-9eaa-f027e97ec537 --- cfg/cpu_detect.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cfg/cpu_detect.h b/cfg/cpu_detect.h index 8be9c32b..3af28a1e 100755 --- a/cfg/cpu_detect.h +++ b/cfg/cpu_detect.h @@ -12,6 +12,9 @@ /*#* *#* $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. *#* @@ -134,6 +137,12 @@ #define CPU_AVR_ATMEGA8 0 #endif + #if defined(__AVR_ATmega168__) + #define CPU_AVR_ATMEGA168 1 + #else + #define CPU_AVR_ATMEGA168 0 + #endif + #if defined(__AVR_ATmega1281__) #define CPU_AVR_ATMEGA1281 1 #else @@ -142,6 +151,7 @@ #else #define CPU_AVR 0 #define CPU_AVR_ATMEGA8 0 + #define CPU_AVR_ATMEGA168 0 #define CPU_AVR_ATMEGA64 0 #define CPU_AVR_ATMEGA103 0 #define CPU_AVR_ATMEGA128 0 -- 2.25.1