RTEMS | stm32h7: Resolve warnings and add SPI support (!204)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Sep 5 12:51:11 UTC 2024
Kinsey Moore commented on a discussion on bsps/arm/stm32h7/boards/stm/stm32h750b-dk/stm32h7-config-per.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/204#note_111791
> #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,
I'll gate it behind STM32H7_SPI2_ENABLE and SPI2.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/204#note_111791
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/d2cb1801/attachment.htm>
More information about the bugs
mailing list