Kinsey Moore commented on a discussion on bsps/arm/stm32h7/dma/dma-allocator.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/294#note_114417

 > +
 > +#include <stm32h7/hal.h>
 > +
 > +/*
 > + * Each bit in this uint16_t corresponds to a DMA channel in the two main 
 > DMA
 > + * peripherals.
 > + */
 > +static uint16_t dma_channels = 0;
 > +
 > +static rtems_mutex dma_lock = RTEMS_MUTEX_INITIALIZER("DMA Allocator");
 > +static uintptr_t dma_channel_size = DMA1_Stream1_BASE - DMA1_Stream0_BASE;
 > +
 > +static rtems_vector_number stm32h7_dma_get_irq(uintptr_t base)
 > +{
 > +  switch (base) {
 > +  case DMA1_Stream0_BASE:

No, this only returns IRQ numbers and none of them can be IRQ 0.

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


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to