• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision15132 (tree)
Time2021-11-25 12:17:58
Authortridge

Log Message

L4xx: fixed DMA streams for I2C4 on L496

Change Summary

Incremental Difference

--- trunk/os/hal/ports/STM32/STM32L4xx/stm32_registry.h (revision 15131)
+++ trunk/os/hal/ports/STM32/STM32L4xx/stm32_registry.h (revision 15132)
@@ -1534,9 +1534,9 @@
15341534 #define STM32_I2C3_TX_DMA_CHN 0x00000030
15351535
15361536 #define STM32_HAS_I2C4 TRUE
1537-#define STM32_I2C4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 2))
1537+#define STM32_I2C4_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 1))
15381538 #define STM32_I2C4_RX_DMA_CHN 0x00000000
1539-#define STM32_I2C4_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 1))
1539+#define STM32_I2C4_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(2, 2))
15401540 #define STM32_I2C4_TX_DMA_CHN 0x00000000
15411541
15421542 /* QUADSPI attributes.*/
--- trunk/readme.txt (revision 15131)
+++ trunk/readme.txt (revision 15132)
@@ -93,6 +93,7 @@
9393 ARMv7-M and ARMv8-M-ML.
9494 - NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
9595 - NEW: Added SPIv2 support also to STM32WB and STM32WL.
96+- FIX: Fixed I2C4 DMA streams for STM32L496 (bug #1202)
9697 - FIX: Fixed STM32_SDMMC2_NUMBER on STM32H7 (bug #1201)
9798 (backported to 20.3.5)(backported to 21.11.1).
9899 - FIX: Fixed STM32G0B1 demo application hangs debuggers (bug #1200)
Show on old repository browser