RTEMS | stm32h7: Resolve warnings and add SPI support (!204)

Sebastian Huber (@sebhub) gitlab at rtems.org
Thu Sep 5 01:40:58 UTC 2024




Sebastian Huber started a new discussion on bsps/arm/stm32h7/boards/stm/stm32h750b-dk/stm32h7-config-per.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/204#note_111776

 >  #include <stm32h7/hal.h>
 >  
 >  const RCC_PeriphCLKInitTypeDef stm32h7_config_peripheral_clocks = {
 > -  /* for stm32h750b-dk BSP we provide U(S)ART1/2/3 */
 > +  /* for stm32h750b-dk BSP we provide U(S)ART1/2/3 and SPI2 on STMOD+ */
 >    .PeriphClockSelection = RCC_PERIPHCLK_USART1 | RCC_PERIPHCLK_USART2
 > -	  | RCC_PERIPHCLK_USART3,
 > +	  | RCC_PERIPHCLK_USART3 | RCC_PERIPHCLK_SPI2,

Should this be also under `#ifdef SPI2`?

I only briefly reviewed the rest. I found nothing obvious.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/204#note_111776
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/20240905/14a15df4/attachment.htm>


More information about the bugs mailing list