-
-
Notifications
You must be signed in to change notification settings - Fork 34
all: Remove superfluous prefix from boards config #234
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
11a3f72 to
8c414bc
Compare
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.
My concern with this change is that, in addition to the -DARDUINO_{build.board} that produces the superfluous prefix on the macro definitions, the compilation patterns also contain -D{build.board}. It is nice to use a prefix on global macro definitions to create a "namespace".
A generic macro name like GIGA seems prone to name collisions.
Indeed that was the reasoning behind the choice: better to have an extra |
why not also remove |
EPIC FACEPALM! |
This PR removes the superfluous prefix from the boards configuration which results in pre-compiler defines that have a duplicate
ARDUINO_prefix. To verify, enable verbose output in the IDE and you will see all the generated defines.