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.


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

Reply via email to