drivers: adc for stm32h7 depends on the version for oversampling #37379
Labels
area: ADC
Analog-to-Digital Converter (ADC)
area: Tests
Issues related to a particular existing or missing test
platform: STM32
ST Micro STM32
Describe the bug
The stm32h7 HAL and LL has ADC_LL_EC_OVS_RATIO Oversampling - Ratio defined for
only ADC of version ADC_VER_V5_V90.
For some stm32H7xx soc, like the stm32h743 and stm32h753, the function LL_ADC_ConfigOverSamplingRatioShift has a different prototype which is not compatible with other soc series. The start-read() fails because the ADC_LL_EC_OVS_RATIO does not exist So the build fails for nucleo_h743zi and nucleo_h753zi target boards.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
compilation passed
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
Environment (please complete the following information):
Additional context
./modules/hal/stm32/stm32cube/stm32h7xx/stm32h7xx_ll_adc.h:
The text was updated successfully, but these errors were encountered: