summaryrefslogtreecommitdiff
path: root/ucoo/hal/i2c/test
diff options
context:
space:
mode:
authorNicolas Schodet2015-04-29 10:37:03 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit7a91c75e1cccf6b32b950100c3eb1a90402443d3 (patch)
tree8f8b1a0fcb05491132c1ee72da582b70cf2d3ed2 /ucoo/hal/i2c/test
parent574480980dcffbfa7cd6dbe71e88253eb4c9feba (diff)
Add comment to run test
Diffstat (limited to 'ucoo/hal/i2c/test')
-rw-r--r--ucoo/hal/i2c/test/test_i2c.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucoo/hal/i2c/test/test_i2c.cc b/ucoo/hal/i2c/test/test_i2c.cc
index 7fc7772..9f619c2 100644
--- a/ucoo/hal/i2c/test/test_i2c.cc
+++ b/ucoo/hal/i2c/test/test_i2c.cc
@@ -195,6 +195,7 @@ main (int argc, const char **argv)
ucoo::I2cHost i2c1 (host, 0);
ucoo::I2cHost i2c2 (host, 1);
#elif defined (TARGET_stm32)
+ // Connect I2C1 to I2C3 for the test.
// I2C1: B6: SCL, B9: SDA
// I2C3: A8: SCL, C9: SDA
rcc_peripheral_enable_clock (&RCC_AHB1ENR, RCC_AHB1ENR_IOPAEN);