Skip to content
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

Mostly revert Revert "Fix at90usb1286 build (#19687)" #19733

Merged
merged 2 commits into from
Oct 14, 2020

Conversation

sjasonsmith
Copy link
Contributor

Description

This reverts most of the changes from commit 7d030ba.

The earlier addition of IS_AT90USB in Conditionals_adv.h did not work, because USBCON was utilized in HAL.h, long before the new flag was set. This caused inconsistencies depending on include order, which caused various build failures.

The original problem with inspired the change was that the USBCON check in the pins file broke pre-build scripts. I have retained the change which fixed that USBCON check, while reverting the addition of the IS_AT90USB flag.

Benefits

AT90USB boards can now build.

Configurations

I discovered the build issues when building the Printrbot/Simple Metal RevD example, but they would have impacted all AT90USB builds.

Related Issues

#19592

This reverts most of the changes from commit 7d030ba.

(cherry picked from commit 6cbee9c14008edd7196e650142953204bc50a398)
@fiveangle
Copy link
Contributor

Confirmed that after applying this PR, build failure for Printrbot RevF is now back to original failure as reported in earlier issue #19216

@thinkyhead thinkyhead merged commit 90d364f into MarlinFirmware:bugfix-2.0.x Oct 14, 2020
Zorchz pushed a commit to Zorchz/Marlin-1 that referenced this pull request Oct 17, 2020
Zorchz pushed a commit to Zorchz/Marlin-1 that referenced this pull request Oct 17, 2020
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Oct 21, 2020
Speaka pushed a commit to Speaka/Marlin that referenced this pull request Oct 23, 2020
Speaka pushed a commit to Speaka/Marlin that referenced this pull request Nov 2, 2020
@sjasonsmith sjasonsmith deleted the PR/fixAT90_again branch November 23, 2020 09:23
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
tharts pushed a commit to tharts/Marlin that referenced this pull request Jan 6, 2021
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Apr 29, 2021
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants