-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h #10212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It's the first time i'm making a pull request. I've tried to follow the rules, please indicate if anything wrong. |
@ecoromka, thank you for your changes. |
Oh, it corresponds to an issue: #10203 |
Should I edit the code to match travis astyle suggestions in order to pass the check? I'm confused 'cause I only changed "25" to "30". If I make those stlye changes, how do I restart the check? New commit and new pull request? Thank you! |
@ARMmbed/mbed-os-maintainers There should not be any astyle check in this directory |
@jeromecoutant Correct, that's my bad. Waiting on #10221 for astyle fix. |
@ecoromka No change needed on your side for now. Will let you know if that changes. |
Info: This PR has now been rebased. If this was made in error, feel free to force-push your local branch to restore the PR. |
@ecoromka In the future, you can also open a pull request directly from a branch as well. |
Hmm... The astyle fix is missing this fix: #10222 |
please re-base when you have time, it should resolve the astyle issue |
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
Info: This PR has now been rebased. If this was made in error, feel free to force-push your local branch to restore the PR. |
CI started |
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
Test run: FAILEDSummary: 1 of 9 test jobs failed Failed test jobs:
|
No idea why GCC_ARM failed for a completely unrelated target. Restarted job, but may need to restart entire pipeline. |
Pipeline it is. |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
@screamerbg would you still like to review this before it is merged (tiny PR)? |
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
Description
Fix of TEMPSENSOR_CAL1_TEMP constant for F3 series targets.
Datasheet says it is 30. This leads to an error in internal temperature readings, using provided macro.
Datasheet, page 150/173, Table 90: https://www.st.com/resource/en/datasheet/stm32f303re.pdf
Same for all MCU, mentioned in correspondig file (STM32F301x8 || STM32F302x8 || STM32F302xC || STM32F302xE || STM32F303x8 || STM32F303xC || STM32F303xE || STM32F318xx || STM32F328xx || STM32F334x8 || STM32F358xx || STM32F398xx).
Pull request type
Reviewers
@jeromecoutant
Release Notes