Skip to content
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

WB enhancements #1291

Merged
merged 5 commits into from
Feb 4, 2021
Merged

WB enhancements #1291

merged 5 commits into from
Feb 4, 2021

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Feb 2, 2021

  • Remove OTP API from the variant and provide it as a bsp.
  • Enable HSEM HAL module by default
  • Move HSE Capacitor Tuning api to clock api file
  • Add required semaphore managements

Supersede #1290

@fpistm fpistm requested review from FRASTM and ABOSTM February 2, 2021 15:36
@fpistm fpistm added enhancement New feature or request fix 🩹 Bug fix labels Feb 2, 2021
@fpistm fpistm added this to the 2.0.0 milestone Feb 2, 2021
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor question ?

libraries/SrcWrapper/src/stm32/clock.c Show resolved Hide resolved
@fpistm
Copy link
Member Author

fpistm commented Feb 2, 2021

@ABOSTM
note that the PR is no ended.

cores/arduino/stm32/lock_resource.h Outdated Show resolved Hide resolved
cores/arduino/stm32/lock_resource.h Outdated Show resolved Hide resolved
variants/PNUCLEO_WB55RG/variant.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think HSEM is necessary in analog.cpp when calling
__HAL_RCC_ADC_CONFIG()

@fpistm
Copy link
Member Author

fpistm commented Feb 4, 2021

I think HSEM is necessary in analog.cpp when calling
__HAL_RCC_ADC_CONFIG()

Right nice catch 👍

This new implementation is mroe generic and support MP1 as well WB.
H7 could be added easily later if dual core support is implemented.

Signed-off-by: Frederic Pillon <[email protected]>
WB serie will require more semaphore management for
low power and flash.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm requested a review from ABOSTM February 4, 2021 13:45
@fpistm fpistm marked this pull request as ready for review February 4, 2021 16:06
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm merged commit 82cdead into stm32duino:master Feb 4, 2021
@fpistm fpistm deleted the WB_fix branch February 4, 2021 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants