From: asterix Date: Thu, 15 Jul 2010 13:35:38 +0000 (+0000) Subject: Add some defines to use also the second i2c device. X-Git-Tag: 2.6.0~288^2~63 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6be815a16105de63ea13f71427f0735272570966;p=bertos.git Add some defines to use also the second i2c device. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4030 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/io/lm3s.h b/bertos/cpu/cortex-m3/io/lm3s.h index b06f83bc..98b1ffb7 100644 --- a/bertos/cpu/cortex-m3/io/lm3s.h +++ b/bertos/cpu/cortex-m3/io/lm3s.h @@ -54,8 +54,11 @@ #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 */