From 60a28350b7e0de01cb31cd62a7d6a87c4e7a9985 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 6 May 2012 14:12:32 +0000 Subject: [PATCH] Fixed bug 3524088. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4168 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F2xx/hal_lld.h | 2 +- os/hal/platforms/STM32F4xx/hal_lld.h | 2 +- readme.txt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/os/hal/platforms/STM32F2xx/hal_lld.h b/os/hal/platforms/STM32F2xx/hal_lld.h index c93aa29a7..6a9fb50d1 100644 --- a/os/hal/platforms/STM32F2xx/hal_lld.h +++ b/os/hal/platforms/STM32F2xx/hal_lld.h @@ -319,7 +319,7 @@ #define STM32_I2C1_RX_DMA_CHN 0x00100001 #define STM32_I2C1_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 7)) | \ (STM32_DMA_STREAM_ID_MSK(1, 6)) -#define STM32_I2C1_TX_DMA_CHN 0x10000000 +#define STM32_I2C1_TX_DMA_CHN 0x11000000 #define STM32_HAS_I2C2 TRUE #define STM32_I2C2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 2) | \ diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h index 06bd3e198..9d3dcaa05 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.h +++ b/os/hal/platforms/STM32F4xx/hal_lld.h @@ -318,7 +318,7 @@ #define STM32_I2C1_RX_DMA_CHN 0x00100001 #define STM32_I2C1_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 7)) | \ (STM32_DMA_STREAM_ID_MSK(1, 6)) -#define STM32_I2C1_TX_DMA_CHN 0x10000000 +#define STM32_I2C1_TX_DMA_CHN 0x11000000 #define STM32_HAS_I2C2 TRUE #define STM32_I2C2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 2) | \ diff --git a/readme.txt b/readme.txt index 70c49377c..0b03c009c 100644 --- a/readme.txt +++ b/readme.txt @@ -79,6 +79,8 @@ ***************************************************************************** *** 2.5.0 *** +- FIX: Fixed STM32 I2C1 wrong alternate TX DMA setting (bug 3524088) + (backported to 2.4.1). - FIX: Fixed system state check problem related to FatFS (bug 3523769). - FIX: Fixed three testhal builds fail (bug 3523322)(backported to 2.4.1). - FIX: Fixed MAC driver functions with invalid name (bug 3522808)(backported