Add support for LM3S1968 board.
[bertos.git] / bertos / cpu / detect.h
index 91ad6be2b441853e6cc9e8bb2c8a058ac3c90107..3b9ac1cf90bf3ae7032a6a242ac0ab0a6248f6fd 100644 (file)
                #endif
 
        /* #elif Add other ARM families here */
+       #elif defined (__ARM_LM3S1968__)
+               #define CPU_ARM_LM3S            1
+               #define CPU_ARM_LM3S1968        1
+
+
        #else
                #define CPU_ARM_AT91         0
        #endif
 
 
-       #if CPU_ARM_AT91 + 0 /* Add other ARM families here */ != 1
+       #if CPU_ARM_AT91 + CPU_ARM_LM3S + 0 /* Add other ARM families here */ != 1
                #error ARM CPU configuration error
        #endif
 #else