diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-04-22 07:19:51 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-04-22 07:19:51 +0000 |
commit | f76ba2109ec210165febd254f7a0155d82355e5e (patch) | |
tree | 6939659ab4cc86773ab49ba6bba12e499f7d5368 | |
parent | 68dc9c996654d8c92d601d44dfb7d3cf38b93231 (diff) | |
download | ChibiOS-f76ba2109ec210165febd254f7a0155d82355e5e.tar.gz ChibiOS-f76ba2109ec210165febd254f7a0155d82355e5e.tar.bz2 ChibiOS-f76ba2109ec210165febd254f7a0155d82355e5e.zip |
Fixed bug #1026.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12747 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/stm32_registry.h | 10 | ||||
-rw-r--r-- | readme.txt | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index 05652cca0..95ab71337 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -1217,12 +1217,12 @@ #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, 5) |\
- STM32_DMA_STREAM_ID_MSK(1, 2) |\
+#define STM32_I2C4_RX_DMA_MSK (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
+#define STM32_I2C4_RX_DMA_CHN 0x00000280
+#define STM32_I2C4_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 5) |\
+ STM32_DMA_STREAM_ID_MSK(1, 6))
+#define STM32_I2C4_TX_DMA_CHN 0x08200000
/* QUADSPI attributes.*/
#define STM32_HAS_QUADSPI1 TRUE
diff --git a/readme.txt b/readme.txt index a3b6d648c..405516578 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,7 @@ - NEW: updates to MFS from trunk code.
- NEW: updates to test library from trunk code.
- HAL: Added H753 to all H7 mcuconf.h files.
+- FIX: Fixed invalid I2C4 DMAs for STM32F76x (bug #1026).
- FIX: Fixed invalid STM32_UART7_RX_DMA_CHN for STM32F469 (bug #1025).
- FIX: Fixed invalid EXTI registry constant for STM32L4+ (bug #1024).
- FIX: Fixed missing RTC definitions in STM32L1xx registry (bug #1023).
|