Fixed ChipKIT paths for avrdude#133
Conversation
|
I don't use ChipKIT myself, so not sure if these changes are needed or not. @peplin, Do you think these changes are needed? |
|
I think they are the paths in an older version. I haven't tested the build with the latest (mpide-0023-linux32-20130817-test) but I just took a look and the Makefile has the correct path to avrdude. |
|
I'll double check tomorrow evening, this may be a Mac issue. I'm running Cheers guys.
|
|
They recently moved the downloads, check out http://chipkit.net/started/ (although the version here is untested with the Makefile). |
|
No worries. I'll test this against the makefile and report back. You can
|
Sure. I will wait for your feedback before closing this pull request. Report back once you had a chance to check it out. |
|
I just patched up the Makefile for the latest MPIDE release in #136 - no changes required to the avrdude paths, but a few other things. |
|
Just done an upstream pull of master and downloaded the latest version of mpide mpide-0023-macosx-20130715.dmg. I'm now running up against a heap of errors on make. I'm running make on the BlinkChipKIT example provided in the repo. Here are the errors when running make for Mega architecture. |
|
@ColinWaddell I just merged #136 to master. Will it fix the issue that you were trying to fix? |
|
I'll test it when I get home this evening and report back.
|
|
Ok. I've been through mpide version 20131118, 20130817, 20130715 and 20120903 for the Mac and they all have a file structure which doesn't seem to agree with $AVRDUDE The directory $(ARDUINO_DIR)/hardware/tools looks like this on the Mac A simple fix would be to allow AVRDUDE_DIR, AVRDUDE and AVRDUDE_CONF to be user configurable the same way the likes of MONITOR_PORT is. Would you like me to add this into my fork/branch for you to see? |
Kindly do that and if @peplin agrees, then I will merge them. |
|
It looks like the Linux version is the outlier, the same as with Arduino. I just submitted another pull request with a conditional check. There could be a way to share the logic between Arduino/chipKIT, but it may not be worth it. |
Hey - I was having some problems with the ChipKIT Makefile and had to update some paths in the template file. I'm using Mpide 0023-macosx-20120803. Not sure if these changes were needed because I'm using a different version of Mpdie than yourself. Thought I'd send you over my modifications none-the-less.
Hope this finds you well,
Colin