From 6be815a16105de63ea13f71427f0735272570966 Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 15 Jul 2010 13:35:38 +0000 Subject: [PATCH] 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 --- bertos/cpu/cortex-m3/io/lm3s.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.25.1