RTEMS | stm32h7/spi-support: correct bugs and improve safety in SPI HAL (!1162)
Mohamed Ayman (@mohamedayman23)
gitlab at rtems.org
Thu Mar 26 03:49:47 UTC 2026
Mohamed Ayman commented on a discussion on bsps/arm/stm32h7/spi/spi-support.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147120
> ctx->spi.Instance->CFG1 &= ~prescaler_mask;
> ctx->spi.Instance->CFG1 |= SPI_BAUDRATEPRESCALER_2;
> } else {
> +
> + if (speed_hz == 0) {
> + return 1;
> + }
ok, done
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1162#note_147120
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/20260326/a9e4d2ac/attachment.htm>
More information about the bugs
mailing list