Sebastian Huber started a new discussion on bsps/arm/stm32h7/spi/spi-support.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/206#note_112695

 >  #include <rtems/bspIo.h>
 >  #include <rtems/sysinit.h>
 >  #include <stdio.h>
 > +#include <stm32h7xx_hal_dma.h>
 > +#include <stm32h7xx_hal_spi.h>
 >  
 >  #include <stm32h7/hal.h>
 >  #include <rtems/score/prioritybitmapimpl.h>
 >  
 > +#define EVENT_ERROR    RTEMS_EVENT_0

Using events is a bad approach since this may collide with application events. 
At least use a system event. You can also use a self-contained condition 
variable or a binary semaphore.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/206#note_112695
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