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

Add MicroMod STM32WB5MMG. Move MicroMod STM32F405 under SparkFun Boards file. #2037

Merged
merged 15 commits into from
Jun 14, 2023

Conversation

SFE-Brudnerd
Copy link
Contributor

@SFE-Brudnerd SFE-Brudnerd commented Jun 7, 2023

Summary

Adds the MicroMod Processor Board - STM32WB5MMG board files.

Consolidates the SparkFun STM32 products under one menu.

This PR fixes/implements the following features

  • Adds the MicroMod Processor Board - STM32WB5MMG

Explain the motivation for making this change. What existing problem does the pull request solve?

The motivation of the change is to add Arduino support for an upcoming board release.

Validation

  • Ensure CI build is passed. ✅

Code formatting

  • Ensure AStyle check is passed thanks CI ✅

Missing Pin C13.
Set correct UART TX/RX.
Add LPUART.
Re-add ifdef guards for TIM.
Add Serial Hardware Open
Bring boards.txt file changes to current release standards.
Move F405 MMPB to SFE category in boards.txt.
Update README.md for SFE boards.
Ran cmake_updater_hook.py only allowing changes that affect SFE products
Added STM32WB5MMG MMPB to platformio boards_remap.json
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.

Hi @SFE-Brudnerd
Thanks for this PR.
You can find here my first remarks about this PR. I will deeply check later.

README.md 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
@fpistm fpistm added the new variant Add support of new bard label Jun 8, 2023
@fpistm fpistm added this to the 2.6.0 milestone Jun 8, 2023
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
@SFE-Brudnerd
Copy link
Contributor Author

Hey @fpistm, when I was running the arduino-cli workflow, I received this error, from what I'm reading this is an issue outside of the changes I've made. Is this expected?

@SFE-Brudnerd SFE-Brudnerd marked this pull request as draft June 8, 2023 17:18
@fpistm
Copy link
Member

fpistm commented Jun 8, 2023

No. It seems your changes brings issue with {} issue. Will check that.

Add space to ToC that was mistakenly removed.
Readded pipe that was mistakenly removed.
@fpistm
Copy link
Member

fpistm commented Jun 8, 2023

Let's CI run to have a first result. 😉

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.

Build issue comes from the flash_offset not defined in boards.txt

boards.txt Outdated Show resolved Hide resolved
boards.txt Show resolved Hide resolved
boards.txt Outdated Show resolved Hide resolved
cmake/boards_db.cmake Show resolved Hide resolved
SFE-Brudnerd and others added 4 commits June 9, 2023 08:53
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
cmake/boards_db.cmake Show resolved Hide resolved
@SFE-Brudnerd SFE-Brudnerd marked this pull request as ready for review June 9, 2023 16:20
@fpistm
Copy link
Member

fpistm commented Jun 9, 2023

You didn't try to build before? So you didn't make any tests with the board?

@SFE-Brudnerd
Copy link
Contributor Author

I did a fair bit of testing before I pulled the upstream in, I realized that I didn't test afterwards.

@SFE-Brudnerd SFE-Brudnerd requested a review from fpistm June 9, 2023 17:12
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.

While the link is not valid, it could not be listed here for security purpose.

README.md Outdated Show resolved Hide resolved
Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Alex Brudner <101155592+SFE-Brudnerd@users.noreply.github.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm
Copy link
Member

fpistm commented Jun 14, 2023

@SFE-Brudnerd
FYI, I've made a little fix on the SERIAL_UART_INSTANCE which is 1 for USART1. 101 is for LPUART1.

@fpistm fpistm merged commit be83b9b into stm32duino:main Jun 14, 2023
@SFE-Brudnerd
Copy link
Contributor Author

Works for me, thanks!

@SFE-Brudnerd SFE-Brudnerd mentioned this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new variant Add support of new bard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants