projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use different api name for new i2c interface. Comply all driver.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
lm3s.h
diff --git
a/bertos/cpu/cortex-m3/io/lm3s.h
b/bertos/cpu/cortex-m3/io/lm3s.h
index b06f83bc2f2f51d958c258bdae4992254c827d62..98b1ffb769e10255e28e693d7b6876aa17d7482e 100644
(file)
--- 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)
#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
#else
- #error No i2c are defined for select cpu
+ #error No i2c
pins
are defined for select cpu
#endif
#endif /* LM3S_H */
#endif
#endif /* LM3S_H */