Skip to content

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

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@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 ?

@fpistm
Copy link
Member Author

fpistm commented Feb 2, 2021

@ABOSTM
note that the PR is no ended.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
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 <frederic.pillon@st.com>
WB serie will require more semaphore management for
low power and flash.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@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