projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add cpu header selecter for i2c.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
stm32.h
diff --git
a/bertos/cpu/cortex-m3/io/stm32.h
b/bertos/cpu/cortex-m3/io/stm32.h
index adbf5423e73e43e9f53326f0503fd0473027d634..2a8335bfca35a7a857de51b15db8086ce6ddf9e4 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/stm32.h
+++ b/
bertos/cpu/cortex-m3/io/stm32.h
@@
-46,6
+46,7
@@
#include "stm32_ints.h"
#include "stm32_uart.h"
#include "stm32_adc.h"
#include "stm32_ints.h"
#include "stm32_uart.h"
#include "stm32_adc.h"
+#include "stm32_i2c.h"
#define GPIO_USART1_TX_PIN BV(9)
#define GPIO_USART1_RX_PIN BV(10)
#define GPIO_USART1_TX_PIN BV(9)
#define GPIO_USART1_RX_PIN BV(10)
@@
-55,4
+56,7
@@
#define GPIO_USART3_RX_PIN BV(11)
#define GPIO_USART3_RX_PIN BV(11)
+#define GPIO_I2C1_SCL_PIN BV(6)
+#define GPIO_I2C1_SDA_PIN BV(7)
+
#endif /* STM32_H */
#endif /* STM32_H */