RTEMS | bsps/stm32h7: Add DMA support for SPI (!294)
Kinsey Moore (@opticron)
gitlab at rtems.org
Wed Nov 6 19:06:51 UTC 2024
Kinsey Moore commented on a discussion on bsps/arm/stm32h7/spi/spi-support.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/294#note_114420
> + DMA_PERIPH_TO_MEMORY,
> + DMA_PRIORITY_HIGH
> + );
> + if (ctx->spi.hdmatx == NULL || ctx->spi.hdmarx == NULL) {
> + if (ctx->spi.hdmatx != NULL) {
> + stm32h7_dma_free(ctx->spi.hdmatx);
> + ctx->spi.hdmatx = NULL;
> + }
> + if (ctx->spi.hdmarx != NULL) {
> + stm32h7_dma_free(ctx->spi.hdmarx);
> + ctx->spi.hdmarx = NULL;
> + }
> + }
> + }
> +#endif
> + if (ctx->spi.hdmatx == NULL) {
Fixed in the latest push.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/294#note_114420
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/20241106/253db165/attachment-0001.htm>
More information about the bugs
mailing list