Closed rei-vilo closed 12 years ago
Xcode project main makefile with switch to Arduino.mk or chipKIT.mk
cleaner commit
@echo " ---- debug comment ---- "
see issue #7
Both tested on Xcode and Terminal
LDSCRIPT used afterwards LDSCRIPT seems to be related to link phase
Maybe some hints here with corresponding makefile [there](http://pastebin. com/31XXwmUV).
The link script reference was missing.
The blink.pde works now!
However, adding a library #include "Wire.h"
raises an error
build-cli/Blink.cpp: 4: 18: error: Wire.h: No such file or directory make: *\ [build-cli/Blink.d] Error 1
Each library needs to be declared manually in ARDUINO_LIBS
ARDUINO_LIB_PATH
fixed
was = $(ARDUINO_SKETCHBOOK)/libraries
now = $(ARDUINO_DIR)/hardware/pic32/libraries
more powerful clean
info section added for debugging
Feel free!
but no code sense yet
GitHub doesn't like Mac :(
Hey, could you use separate issues and pull requests? I just pushed a few commits that includes some of the fixes you made, but when you combine them into one pull request it's impossible to merge automatically. You have to file separate pull requests, not just add new commits to the same one. Thanks, Olivier!
GitHub went messy for the 9- pull request. Sorry. I'm afraid GitHub is fighting with Xcode own implementation.
When I ask for a pull request, an issue is opened. Is it a feature or a bug?
Anyway, pull request 9 does work.
To be done: implement code sense, include user's libraries.
That's a feature, I believe - the intent is that each bug has one pull request with the fix. I'm working on user libraries right now, without much luck so far. That's why I had the ARDUINO_LIBS path switched.
There's an implementation here (https://github.com/rngtng/Arduino.mk/commit/9ceda5e9ba299c21f70713c1020b81595a764d31) but i can't get it to work properly.
1- Added files