RTEMS | stm32h7/spi-support: correct bugs and improve safety in SPI HAL (!1162)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Mar 30 14:11:26 UTC 2026




Kinsey Moore started a new discussion on bsps/arm/stm32h7/spi/spi-support.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147454

 >      ctx->spi.Instance->CFG1 &= ~prescaler_mask;
 >      ctx->spi.Instance->CFG1 |= SPI_BAUDRATEPRESCALER_2;
 >    } else {
 > +    if (speed_hz == 0) {
 > +      return 1;
 > +    }
 > +

Remove this as per the comment above.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147454
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/20260330/7184a6c6/attachment.htm>


More information about the bugs mailing list