Closed MichaelMeissner closed 1 year ago
Note, I did merge in my pin defaults in config.h which now leaves config.h in conflict. Obviously keep your definitions, and I'll keep mine in my tree.
But I don't know enough of the git stuff to do that. When I'm using git within GCC, we don't use pull requests, etc. Instead, we mail in the patch, and when it is approved, the person doing the patch does the commit.
In terms of the *.cpp files in src/eyes/240x240, I think the issue is if this was structured as a library, the Arduino builder will build the .cpp files in sub-directories. But since it is a directory with an .ino file, it does not descend into sub-dirs. Hence, it will compile the various eye files, but the linker will give errors that polarAngle_240, etc. don't exist.
These are 3 commits:
1) Add more things to .gitignore (emacs and patch under Linux leave other temporary files around)
2) Add final newline to the files that need it (some of the Linux source tools don't work as well if a file does not have a final newline).
3) Add files to build under Arduino.
One other change that you need to do to build under Arduino is create a dummy .ino file in the src directory.