From cc9ac280b0f02cd0de528693d1bda653ed82a365 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 8 Jul 2017 13:07:07 +0000 Subject: [PATCH] Fixed bug #860. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10313 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 10 ++++++---- readme.txt | 4 +++- 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