-
Notifications
You must be signed in to change notification settings - Fork 449
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
Compilation StandardFirmata fails #344
Comments
Also with including the libraries I get:
But probably this is a problem with the Sketch not with the Makefile |
@mulderp This is because the functions are not declared. Standard C/C++ expects you to declare the functions but Arduino automatically does this in the background to help the beginners. We decided not to do it in the makefile since the users of this makefile are mostly power users. See #59 for further context on this. |
Thanks, for your feedback. That is helpful for my current learnings. By the way, background of my small project is to help others (software beginners probably) building Arduino firmware from the command line. A Makefile approach seems quite interesting, although there might be other approaches like discussed in: Pinoccio/js-stk500#7 |
just confirmed it does compile if you move some of the function declarations around in StandardFirmata.ino, with Makefile:
|
Hi,
I was just trying to build the Standard Firmata sketch with the Makefile, but I get an error about missing delcaration of
enableI2CPins
.This is Makefile:
The text was updated successfully, but these errors were encountered: