RTEMS | bsp/stm32h7: fix DMA allocator IRQ handling and stream boundary check (!1196)
Kinsey Moore (@opticron)
gitlab at rtems.org
Fri Jun 5 02:43:10 UTC 2026
Kinsey Moore started a new discussion on bsps/arm/stm32h7/dma/dma-allocator.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1196#note_151965
> uint16_t dma_mask = 0;
> rtems_status_code sc;
>
> - if (dma_channel_offset > DMA2_BASE) {
> + if (dma_channel_offset >= DMA2_Stream0_BASE) {
The current comparison is perfectly valid. DMA2_Stream0_BASE != DMA2_BASE (see contrib/bsps/arm/stm32h7/cmsis-device-h7/Include/stm32h7*.h`)
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1196#note_151965
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260605/0ea9ba15/attachment-0001.htm>
More information about the bugs
mailing list