aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-07-08 13:07:07 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-07-08 13:07:07 +0000
commitcc9ac280b0f02cd0de528693d1bda653ed82a365 (patch)
tree0814556f5b968f2a5ddcd5dbcfcc561c57a8b262
parent1dfcb065c96e1c4838239a0cd55864272f1e65e0 (diff)
downloadChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.tar.gz
ChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.tar.bz2
ChibiOS-cc9ac280b0f02cd0de528693d1bda653ed82a365.zip
Fixed bug #860.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10313 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h10
-rw-r--r--readme.txt4
2 files changed, 9 insertions, 5 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index 682efe5bc..1a6e27510 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -1605,10 +1605,12 @@
#define STM32_I2C2_TX_DMA_CHN 0x70000000
#define STM32_HAS_I2C3 TRUE
-#define STM32_I2C3_RX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 2)
-#define STM32_I2C3_RX_DMA_CHN 0x00000300
-#define STM32_I2C3_TX_DMA_MSK STM32_DMA_STREAM_ID_MSK(1, 4)
-#define STM32_I2C3_TX_DMA_CHN 0x00030000
+#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 0x00000310
+#define STM32_I2C3_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4) |\
++ STM32_DMA_STREAM_ID_MSK(1, 5))
+#define STM32_I2C3_TX_DMA_CHN 0x00630000
#define STM32_HAS_I2C4 FALSE
diff --git a/readme.txt b/readme.txt
index 1587544c9..15bd9f71a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -89,8 +89,10 @@
*****************************************************************************
*** Next ***
-- HAL: Fixed missing Ethernet PHY in some STM32 Nucleo-144 board files(bug #859)
+- HAL: Fixed missing DMA I2C3 streams in STM32F411 registry (bug #860)
(backported to 17.6.1).
+- HAL: Fixed missing Ethernet PHY in some STM32 Nucleo-144 board files
+ (bug #859)(backported to 17.6.1).
- VAR: Fixed priority issue in STM32 Nucleo-64 F401RE demo (bug #858)(backported
to 17.6.1).
- VAR: Fixed STM32L053 Discovery demo which is unaligned to standard demos (bug