Mohamed Ayman created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1196

Project:Branches: mohamedayman23/rtems:fix-DMA-allocator_IRQ to 
rtems/rtos/rtems:main
Author:   Mohamed Ayman



bsp/stm32h7: fix DMA allocator IRQ handling and stream boundary check

- Guard rtems_interrupt_entry_remove() in stm32h7_dma_free_nolock() behind an 
irq_installed flag to prevent an \_Assert failure when freeing a channel whose 
IRQ entry was never installed (e.g. on rtems_interrupt_entry_install() failure).
- Fix DMA2 stream detection in stm32h7_dma_free_nolock() to use= 
DMA2_Stream0_BASE instead of \> DMA2_BASE. 
- The old check would misclassify DMA2_Stream0 as a DMA1 stream, producing a 
wrong channel index and bitmask on free.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1196
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to