-
Notifications
You must be signed in to change notification settings - Fork 1k
3D printer board Big Tree Tech EBB42, missing Generic STM32G0 and STM32G4 support #1784
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 small comment, otherwise LGTM
variants/STM32G0xx/G0B1C(B-C-E)(T-U)_G0C1C(C-E)(T-U)/generic_clock.c
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alextrical,
Thanks, that is a huge work.
Few comments:
- Missing Readme update corresponding to the new MCUs.
- Could you run Astyle to harmonize formatting:
https://github.com/stm32duino/wiki/wiki/Astyle#python-script
I'm going to try that now, Once I download the ".astyleignore", ".astylerc" and "astyle.py" files, Do i run the py file at the root of the project, and do i need to manually specify in the command to use the definition files? |
In fact scripts to ease Astyle are already available when cloning github: But you need to download Astyle itself. Then all we request is to run Astyle on the sources/headers files you modified. |
I've run Astyle with the following command Hopefully the requested changes are all now showing up. I will remember these for the next batch ;) and leave it a bit longer between making the changes, and placing a change request to hopefully let it capture the full set of changes, and hopefully i will only create one pull request next time ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some remaining '0' to be removed, including in variant_EBB42_v1_1.cpp
variants/STM32G0xx/G031C(4-6-8)(T-U)_G041C(6-8)(T-U)/generic_clock.c
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(if you wants to add MCU on other STM32 series, let's do it in separate commit 😃 )
Thanks for this huge and valuable work
How do I go about creating a separate commit, I was hoping the last Pull request for the G4 would have been a separate entity from the G0 submission. Is the Close with comment enough? I'm not sure if the pull request fully checked in, it may need extra approval on your side. |
once this pull request is closed I will start adding a few other definitions, that are queued up and ready to go. Currently sitting in another repo for safe storage ready to be added. |
Sorry, I mean separate Pull Request 😄 At first glance there is an error while compiling GENERIC_G0B0CETX, GENERIC_G0B0RETX and GENERIC_G0B0VETX
I will have a look at this issue |
ah, well that's a pain that its not compiling :/ Would you be OK with me removing the 3 failed MCU's from the PR? |
I made a fix for the compilation error #1790. Nevertheless, you can push other STM32 series in parallel (one per PR would be great). Alternatively, you can wait for this one to be merged, before pushing next PR. This will take more time to reach the end of STM32 series, but it is not an issue. |
Unfortunately I did all previous modifications directly in 'Main' so think I have somewhat contaminated the base of my fork |
Right
Thus let's wait for merge of 1st PR before pushing next one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version Number now updated to show 2.4.0 in readme.md
Hi @alextrical Could you rebase your PR on top of the main in order to get the fix made by @ABOSTM. Then CI should be OK Pay attention as you made a PR using the main branch. |
Hopefully that is now in sync with the main repo. Please give the CI a try |
Hi @alextrical So, please do not push on your main branch while this PR is not merged. |
Co-authored-by: Alexandre Bourdiol <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added new Generic support for STM32G0B1/C1 support, and 3D printer board Big Tree Tech EBB42 CANBUS V1.1 motor / hot end control board