aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-04-24 13:59:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-04-24 13:59:43 +0000
commit766c11bd30319ecf9d5c9df391687c0a7bc91d1d (patch)
treea12b9fd3f81a50dd98e0fdb6f8644518f7c0472d /os
parent138cc5f2a24b71fcfdecbce11ac3431eb4ed339f (diff)
downloadChibiOS-766c11bd30319ecf9d5c9df391687c0a7bc91d1d.tar.gz
ChibiOS-766c11bd30319ecf9d5c9df391687c0a7bc91d1d.tar.bz2
ChibiOS-766c11bd30319ecf9d5c9df391687c0a7bc91d1d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7924 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_registry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
index 80677c705..b9c6e2639 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
@@ -720,15 +720,15 @@
RCC_AHBENR_GPIOFEN)
/* I2C attributes.*/
-#define STM32_HAS_I2C1 FALSE
+#define STM32_HAS_I2C1 TRUE
+#define STM32_I2C_I2C2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
+#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
#define STM32_HAS_I2C2 TRUE
#define STM32_I2C_I2C2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
-#define STM32_HAS_I2C3 TRUE
-#define STM32_I2C_I2C3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
-#define STM32_I2C_I2C3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
+#define STM32_HAS_I2C3 FALSE
/* RTC attributes.*/
#define STM32_HAS_RTC TRUE