-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
bugfix-2.0.x doesnt build with arduino ide for avr #7375
Comments
For now you can successfully build it on PlatformIO. |
It builds with Arduino 1.6.8 with 2 changes:
|
Isn't it |
Actually, it requires more changes than that (not sure as I've not got it working yet - had to stop on the 3rd .h file path fix - will try to look at more later). |
I built the code using the default config, but there is SPI support that needs fixing, Chris is working on that. I would wait for him. What areas are you finding problems? |
so far, just more header path issues beyond MarlinConfig.h. Mostly stuff in the LPC HAL tree (there's also minor cleanup that i was doing as i was fixing - some directories using all lowercase, some first-letter capitalized, etc) |
If you are building for AVR, it should not be including anything in LPC HAL... one of my suggested changes was to remove that folder! |
@fiveangle I wouldn't do cosmetic changes to things just yet some parts will not be around for ever, Other than SPI missing from other platforms there shouldn't be any compile errors on my development branch, the Marlin bugfix-2.0.x is behind a few commits, I need to get a PR in that will throw errors for incomplete HAL implementation (I'm having issues with trying to do so much in the preprocessor for the AVR platform)
That's done Bob, I've created a frameworks folder level with src for any platform specific framework code that Arduino IDE should ignore. |
so we are supposed to "hurry up and wait" for someone else to fix stuff ? ;) but kidding aside Chris, i guess we should wait for the SPI stuff to actually be implimented and then start back in working to fix stuff in bf2.0 ? |
Well, you don't have to wait but things are still being refactored in the HAL and in base 2.0.x and any PR may be hard to merge with those overarching changes without close cooperation, once 2.0.x is actually "layout complete" it will be clearer what is actually staying around and needs cleaned up. |
Builds now. Although you may hit command-length limit in Windows, so need to install debug arduino-builder.exe available here: |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi!
Does bugfix-2.0.x branch supposed to build for avr?
I get error
The text was updated successfully, but these errors were encountered: