projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Test I2C code on discovery board.
[fw/altos]
/
src
/
stm-demo
/
ao_pins.h
diff --git
a/src/stm-demo/ao_pins.h
b/src/stm-demo/ao_pins.h
index 42f4123d19c1f586bc16463eadc3de1d2bac95f0..9fd1175ddcaaf34a4c6f3daefc427710596bf735 100644
(file)
--- a/
src/stm-demo/ao_pins.h
+++ b/
src/stm-demo/ao_pins.h
@@
-138,5
+138,11
@@
struct ao_adc {
#define AO_ADC_SQ2 AO_ADC_TEMP
#define AO_ADC_SQ3 AO_ADC_VREF
+#define HAS_I2C_1 1
+#define I2C_1_PB6_PB7 0
+#define I2C_1_PB8_PB9 1
+
+#define HAS_I2C_2 0
+#define I2C_2_PB10_PB11 0
#endif /* _AO_PINS_H_ */