Skip to content

New board definition: Piconomix PX-HER0 board (STM32L072RB) #788

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

Merged
merged 7 commits into from
Nov 27, 2019
Merged

New board definition: Piconomix PX-HER0 board (STM32L072RB) #788

merged 7 commits into from
Nov 27, 2019

Conversation

pieterconradie
Copy link
Contributor

Hi there!

This is my first time working with stm32duino and adding a new variant, so all pointers / tips / hints will be much appreciated!

Thanks in advance,
Pieter
https://piconomix.com

@fpistm fpistm added the new variant Add support of new bard label Nov 23, 2019
@fpistm
Copy link
Member

fpistm commented Nov 23, 2019

Hi @pieterconradie
thanks for this PR.
I will made a review.
I guess this is this board:
https://github.com/piconomix/piconomix-fwlib/tree/master/boards/arm/stm32/piconomix_hero_board

@fpistm fpistm self-requested a review November 23, 2019 13:23
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.

First review, I will deeply reviewed after all required first review comments will be fixed.
Please also fix code formatting issue. You can use Astyle to ensure all is OK and avoid Astyle check failure.
See https://github.com/stm32duino/wiki/wiki/Astyle

@fpistm
Copy link
Member

fpistm commented Nov 23, 2019

@pieterconradie
Thanks for the update.
Anyway, I would prefer PX_HER0 instead of PX-HER0.
I don't know how the "-" could be interpreted if it is used in a command line. So please use "_".

@pieterconradie
Copy link
Contributor Author

Hi @fpistm Thanks for the guidance :) The "astyle.py" script did not work for me so I ran Astyle manually to fix the files. Hope all is OK now. Thanks! Pieter

@pieterconradie
Copy link
Contributor Author

Hi @fpistm I got the astyle.py script working for me and the pull request is now passing the CI checks :) Best regards, Pieter

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.

At least remove SD card related line in variant.h.

Removed SD pin definitions as it is only intended for STM32SD library hardware support.
@pieterconradie
Copy link
Contributor Author

Hi @fpistm Thanks for the advice :) I have made the changes. If you are interested the board design files (including schematic) are HERE. My test sketches are HERE

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
I do not have this board so I assume you test it. 😉

@fpistm
Copy link
Member

fpistm commented Nov 27, 2019

I will merge it and add a reference in the README.md. Could you give me a link I can add to reference the board, please?

@fpistm fpistm merged commit f070fe8 into stm32duino:master Nov 27, 2019
@pieterconradie
Copy link
Contributor Author

Hi @fpistm Thank you kindly for your help and merging the code :) HERE is a link to the board.

@fpistm
Copy link
Member

fpistm commented Nov 27, 2019

@pieterconradie
Thanks, The README.md has been updated.

@fpistm fpistm added this to the 1.8.0🎄 🎅 milestone Nov 27, 2019
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