Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #285 on: December 07, 2012, 09:12:29 am » |
Still just use the #include <mylib.h>, and the build will find them? It should do. Always has for me.
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #286 on: December 07, 2012, 12:32:31 pm » |
What dxw00d says is correct, in fact the library manager in my mod uses the user sketch directory to install libraries  when you click "Add.."
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #288 on: December 08, 2012, 08:22:01 pm » |
The problem is wiring isn't defined properly. It's not in the list of programmers. So it may have been done to fix a timing error, but introduced a bug with 100% failure rate. The stk500v2 simply works. When programmers.txt gets updated to define wiring, I'm sure it will fix everything. But until then, this is the only way to get it to work.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #289 on: December 08, 2012, 08:50:59 pm » |
The 1.0.2 that I downloaded from Arduino is using avrdude 5.11 and supports "wiring"
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 11
Posts: 393
|
 |
« Reply #290 on: December 08, 2012, 11:04:19 pm » |
The problem is wiring isn't defined properly. It's not in the list of programmers. So it may have been done to fix a timing error, but introduced a bug with 100% failure rate. The stk500v2 simply works. When programmers.txt gets updated to define wiring, I'm sure it will fix everything. But until then, this is the only way to get it to work.
The problem isn't in programmers.txt. The definition for the "wiring" protocol is in avrdude, specifically avrdude.exe and avrdude.conf. Only versions of avrdude 5.11 or later seem to know about "wiring", though. The problem is that the version of avrdude shipped in this ERW 1.0.2 distro is only 5.10. For maximum compatibility, it should probably be using the same version as the one that shipped with the "official" 1.0.2, which is 5.11. I just replaced the 5.10 version with the 5.12 version I had installed separately as a stand-alone version. Being a later version it understood the "wiring" parameter specified in programmers.txt. That worked (just remember to rename the newer avrdude.exe to replace avrdude2.exe to fit in with the "wrapper" scheme in ERW 1.0.2.) Your solution of editing programmers.txt so it specifies "stk500v2" instead of "wiring" will work (well, work as well as it always has in the past), but has the disadvantage that you don't get the timing bug fix that the move to "wiring" was addressing. If that bug doesn't affect you, however, it's no big deal, of course.
|
|
|
|
« Last Edit: December 08, 2012, 11:09:06 pm by pico »
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #291 on: December 09, 2012, 12:56:56 am » |
Wow! official 1.0.2 has an updated toolkit?! I noticed that recently just by the last messages! sorry I was not aware :/
I though pico manually updated the avrdude
|
|
|
|
« Last Edit: December 09, 2012, 01:03:55 am by eried »
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #292 on: December 09, 2012, 04:37:03 pm » |
Actually, avrdude 5.11 was released with Arduino 1.0
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #293 on: December 09, 2012, 08:13:18 pm » |
So... I am a bit confused with the versioning, I remember the 1.0 with an old winavr toolkit. What should I do? I want to update that and pack a version without java too.
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #294 on: December 13, 2012, 03:25:14 pm » |
Updated to 1.0.3
* 1.0.3 20121213: Fully updated to official 1.0.3 version (but keeping all the awesomeness, new JDK, new WinAVR/avrdude, etc). Changed the protocol of the mega2560 to avoid some issues with the updated avrdude. Added a light version without Java.
About WinAVR version, etc. I am not sure about avrdude 5.11 version yet, I only found ancient 2008 files in the Official package so I kept my updated ones. Maybe is the conf file?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 120
|
 |
« Reply #295 on: December 13, 2012, 03:33:14 pm » |
well done
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #296 on: December 13, 2012, 03:45:24 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #297 on: December 13, 2012, 03:57:23 pm » |
yes, I know but what I don't understand is how is the 1.0 contains something updated if there is only ancient winavr stuff inside. Maybe I am confused with the relation with avrdude-winavr, I got the last package of winavr and tweaked the IDE to make it work. I can't find a newer version and for me winavr includes avrdude. So I left the previous files since in the last official package the 'tools' files are 2008-2009
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #298 on: December 13, 2012, 04:31:52 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #299 on: December 14, 2012, 03:15:36 am » |
Hi, Thank you very much for sending me the new Arduino ERW 1.0.3. It works fine with no mixed menu language pull down. I am a newbie in Arduino. Once again, thank you. Best regards, KW
|
|
|
|
|
Logged
|
|
|
|
|
|