Correctly use earlephilhower.varant if variant not given, ensure USB power...
Correctly use earlephilhower.varant if variant not given, ensure USB power macro is always there (#444) Fixes a crash of the builder script, `board.get("build.variant", None)` will throw an exception if the `build.variant` was not found (and not return `None` as the fallback value), but an empty string works, so check against that. USB power defines moved directly into the board files, but still ensure that the macro always exists (with a default fallback value) to not fail the build.
Showing
Please register or sign in to comment