Problem in STM32H7 support
Posted: Mon Jan 07, 2019 8:31 pm
Hi again
I found a typos in hal_lld.h i H7 libraries.
First:
* @brief SPI6 clock.
*/
#define STM32_SPI6CLK STM32_PCLK4
#elif STM32_SPI6SEL == STM32_SPI6SEL_PLL2_P_CK
#define STM32_SPI6CLK STM32_PLL2_P_CK
line 2582 and 2583 should be:
#elif STM32_SPI6SEL == STM32_SPI6SEL_PLL2_Q_CK
#define STM32_SPI6CLK STM32_PLL2_Q_CK
next:
line 2402:
#elif STM32_USART1SEL == STM32_USART16SEL_PLL2_Q_CK
should be:
#elif STM32_USART16SEL == STM32_USART16SEL_PLL2_Q_CK
Regards
I found a typos in hal_lld.h i H7 libraries.
First:
* @brief SPI6 clock.
*/
#define STM32_SPI6CLK STM32_PCLK4
#elif STM32_SPI6SEL == STM32_SPI6SEL_PLL2_P_CK
#define STM32_SPI6CLK STM32_PLL2_P_CK
line 2582 and 2583 should be:
#elif STM32_SPI6SEL == STM32_SPI6SEL_PLL2_Q_CK
#define STM32_SPI6CLK STM32_PLL2_Q_CK
next:
line 2402:
#elif STM32_USART1SEL == STM32_USART16SEL_PLL2_Q_CK
should be:
#elif STM32_USART16SEL == STM32_USART16SEL_PLL2_Q_CK
Regards