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

Adding L431RC Generic #1736

Merged
merged 1 commit into from
Jun 21, 2022
Merged

Adding L431RC Generic #1736

merged 1 commit into from
Jun 21, 2022

Conversation

mackelec
Copy link
Contributor

@mackelec mackelec commented Jun 3, 2022

Adding L431RC generic.
Added ldscript.ld
Edited Boards and Readme

@fpistm fpistm requested a review from ABOSTM June 6, 2022 07:44
@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Jun 6, 2022
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.

Thanks @mackelec for this Pull Request.
It would be great if you could also update the generic clock so that users can benefit from 80Mhz (thanks to PLL), instead of relying on default 4Mhz clock (MSI).
https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-%28board%29#3---generic-system-clock-configuration

README.md Outdated Show resolved Hide resolved
boards.txt Show resolved Hide resolved
variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld Outdated Show resolved Hide resolved
STM32 core based on ST HAL automation moved this from In progress to Needs review Jun 6, 2022
@mackelec
Copy link
Contributor Author

mackelec commented Jun 7, 2022

Thank you for your review. I hope I've made all the correct updates this time.

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.

@mackelec,
Thanks for this update,
It looks like you kind of revert several merged commit.
I did not list all but there is clearly too much update in board.txt

variants/STM32L4xx/L431R(B-C)(I-T-Y)/generic_clock.c Outdated Show resolved Hide resolved
boards.txt Outdated Show resolved Hide resolved
boards.txt Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@ABOSTM ABOSTM force-pushed the main branch 2 times, most recently from c73c1cb to 3795162 Compare June 16, 2022 14:48
@ABOSTM
Copy link
Contributor

ABOSTM commented Jun 16, 2022

Hi @mackelec ,
I updated your Pull Request to:

  • add all STM32L431Rx MCU as they share the same linker script and the same generic clock file
  • run astyle
  • squash the whole as a single commit

@ABOSTM ABOSTM requested a review from fpistm June 16, 2022 14:52
variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld Outdated Show resolved Hide resolved
variants/STM32L4xx/L431R(B-C)(I-T-Y)/ldscript.ld Outdated Show resolved Hide resolved
boards.txt Outdated Show resolved Hide resolved
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @mackelec & @ABOSTM

@fpistm fpistm merged commit ab95f98 into stm32duino:main Jun 21, 2022
STM32 core based on ST HAL automation moved this from Needs review to Done Jun 21, 2022
cparata pushed a commit to cparata/Arduino_Core_STM32 that referenced this pull request Jan 31, 2023
Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants