Add some defines to use also the second i2c device.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 15 Jul 2010 13:35:38 +0000 (13:35 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 15 Jul 2010 13:35:38 +0000 (13:35 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4030 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/io/lm3s.h

index b06f83bc2f2f51d958c258bdae4992254c827d62..98b1ffb769e10255e28e693d7b6876aa17d7482e 100644 (file)
 #if CPU_CM3_LM3S1968
        #define GPIO_I2C0_SCL_PIN       BV(2)
        #define GPIO_I2C0_SDA_PIN       BV(3)
+
+       #define GPIO_I2C1_SCL_PIN       BV(6)
+       #define GPIO_I2C1_SDA_PIN       BV(7)
 #else
-       #error No i2c are defined for select cpu
+       #error No i2c pins are defined for select cpu
 #endif
 
 #endif /* LM3S_H */