-
-
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
Fixed Makefile to work with Melzi2 boards on arduino-1.6.x #3224
Fixed Makefile to work with Melzi2 boards on arduino-1.6.x #3224
Conversation
- also by default use ${HOME}/Arduino as install directory which may be more sane, especially with arduino packages provided by distributions - bump arduino version to 106 (this seems to be useless) - program firmware through the USB serial which is more comfortable way how to program the firmware - use 57600 programing speed by default which seems to be more reliable with arduino bootloaders (at least with those shipped with the Melzi2 boards) Signed-off-by: Jaroslav Škarvada <[email protected]>
I would PR it against MarlinDev/dev as suggested earlier, but it seems there is no Makefile there. |
For Ubuntu the |
I think (at least on linux) arduino by default supports ${HOME}/Arduino and /usr/share/arduino/. The former is user scope, the latter is system scope. I think for firmware you don't need to install it system wide as root, because you can compile it/modify it and upload it as normal user. I will check it, but having support for both directories in makefile will be probably the best. |
I would like to get this merged, if it passes muster. But we just haven't had enough feedback and testing from users in varied environments yet. I'm not sure how to acquire more testers, but I can at least test it on OS X. This would be the first time I've messed with the Makefile method, so my results may be less than definitive… |
I can test on Linux and Windows 10, Do you have a particular test we should perform ? |
@jbrazio I'm not sure what test to perform other than to try and compile and see what happens. If it requires some configuration in the OS to get it working, but no changes to the Makefile, then we're on the right track. But I suspect we'll probably need to check the environment to see which OS it is, then use one out of a set of Arduino tool paths. |
@thinkyhead the collateral effects of this PR are so small I would suggest its merge. |
@jbrazio Ok. I would be curious to know whether anyone in the world wants to use |
Agreed, we need to evaluate this. |
Well it's merged now, so perhaps someone out there will "evaluate" it for us! |
IMO our future will be with something like Makefile + IDE. |
This fixed the 'make'/'make upload' for me (using Arduino 1.6, Melzi board)
sane, especially on linux with arduino packages provided by distributions
to program the firmware
with arduino bootloaders (at least with those shipped with the Melzi2 boards)
Signed-off-by: Jaroslav Škarvada [email protected]