RTEMS | bsps/arm/stm32f4: Add SPI bus driver (!1294)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Jun 15 22:29:41 UTC 2026




Kinsey Moore started a new discussion on bsps/arm/stm32f4/spi/spi.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1294#note_152386

 > +    spi_bus_destroy_and_free(&bus->base);
 > +    return -rv;
 > +  }
 > +
 > +  sc = rtems_interrupt_handler_install(
 > +    irq,
 > +    "STM32F4 SPI",
 > +    RTEMS_INTERRUPT_UNIQUE,
 > +    stm32f4_spi_isr,
 > +    bus
 > +  );
 > +  if (sc != RTEMS_SUCCESSFUL) {
 > +    rtems_binary_semaphore_destroy(&bus->sem);
 > +    stm32f4_rcc_set_clock(rcc, false);
 > +    spi_bus_destroy_and_free(&bus->base);
 > +    return EAGAIN;

EAGAIN doesn't seem appropriate for this failure.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1294#note_152386
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/20260615/3f4dfcf9/attachment.htm>


More information about the bugs mailing list