-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Sorted boards.txt + added board-sorting script for future use #7557
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
Thanks @PilnyTomas for the PR. Final result is good. We just need to make sure, it's working correctly for new added boards and is also okay for LibBuilder. @me-no-dev & @SuGlider please help with reviewing this script and the approach. Thanks. |
Hi guys, I would suggest creating some basic rules for adding new boards to prevent a huge number of boards on the list. |
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.
I think it is a nice tool, not not sure it would fit along with Arduino Core.
Nice work @PilnyTomas!
It could stay within Lib Builder? @me-no-dev
Or as @pedrominatel suggested, we shall think a better way to solve the growing list of ESP32 3rd party boards.
@PilnyTomas up to the discussion today, the approach and script looks okay. Only thing, please remove the changes in boards.txt file in this PR. (as it was there just to show the result of the script) |
The main addition is the sorted list, not the script - the script is something extra that can be used in the future if needed. |
Maybe use aliases and compile the boards file from it? This way boards with just another name could be used in Arduino IDE without too much hussle. Most beginners will likely look for their specific board instead of the ESP32 counterpart. |
This PR and approach needs to be validated again, adding to 3.1.0 milestone as it is nice to have "feature" and it can be done a bit later. |
closing this for now. will revisit later |
The new script
.sort_boards.sh
sorts contents in fileboards.txt
alphabetically based on.name
parameter to be sorted for users in Arduino IDE.Official Espressif boards are listed on top, sorted separately.
The file
boards.txt
in this PR contains result of this script.This is a replacement for the previously proposed (impossible solution) splitting of the boards menu #7172
Known issues: