diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-23 09:21:56 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-23 09:21:56 +0000 |
commit | c716b58ebcd26e3d96d6d339449b7dfe0fefb090 (patch) | |
tree | 6933c933f835a568237f14e863ff4cef767f9655 /os/hal | |
parent | 80d2517b91d611d837d7b29e80b2056a6791e4ee (diff) | |
download | ChibiOS-c716b58ebcd26e3d96d6d339449b7dfe0fefb090.tar.gz ChibiOS-c716b58ebcd26e3d96d6d339449b7dfe0fefb090.tar.bz2 ChibiOS-c716b58ebcd26e3d96d6d339449b7dfe0fefb090.zip |
Fixed bug #920.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11538 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/stm32_registry.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 6da55e7e8..124a57f92 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -1163,7 +1163,7 @@ #define STM32_I2C3_ERROR_NUMBER 73
#define STM32_I2C3_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 1) |\
STM32_DMA_STREAM_ID_MSK(1, 2))
-#define STM32_I2C3_RX_DMA_CHN 0x00000300
+#define STM32_I2C3_RX_DMA_CHN 0x00000310
#define STM32_I2C3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 0) |\
STM32_DMA_STREAM_ID_MSK(1, 4))
#define STM32_I2C3_TX_DMA_CHN 0x00030008
@@ -1173,8 +1173,10 @@ #define STM32_I2C4_ERROR_HANDLER Vector1C0
#define STM32_I2C4_EVENT_NUMBER 95
#define STM32_I2C4_ERROR_NUMBER 96
-#define STM32_I2C4_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 1)
-#define STM32_I2C4_RX_DMA_CHN 0x00000080
+#define STM32_I2C4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5) |\
+ STM32_DMA_STREAM_ID_MSK(1, 2) |\
+ STM32_DMA_STREAM_ID_MSK(1, 1))
+#define STM32_I2C4_RX_DMA_CHN 0x00200280
#define STM32_I2C4_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 6)
#define STM32_I2C4_TX_DMA_CHN 0x08000000
|