edward0429 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

opttiboot 4.4 simplified compile causes errors if WINAVR is also installed #667

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  On windows, install optiboot 4.4 sources within the Arduino install
2.  Compile using the batch file ".\omake atmega328"
3.  Also have WINAVR installed an in your path.

What is the expected output? What do you see instead?
This gets errors from sh trying to run avr-objdump, whose path has been munged 
to have backslashes, which do the wrong thing when run through sh.

Please use labels and text to provide additional information.

Workaround: remove WINAVR binary directories from your path before the compile 
attempt.

Other workaround: The needed .hex file is created successfully.  It's the .lst 
file that fails.  If you don't need the .lst file, you can just ignore the 
error.

Original issue reported on code.google.com by wes...@gmail.com on 4 Oct 2011 at 10:08

GoogleCodeExporter commented 8 years ago
Note that this is a problem with BUILDING Arduino under the new build options 
that use the arduino-installed tools.  It doesn't affect the bootloader itself, 
or any of the .hex/etc files that come with arduino.

Original comment by wes...@gmail.com on 4 Oct 2011 at 10:11

GoogleCodeExporter commented 8 years ago
Can be fixed by explicitly setting the SHELL variable in the Makefile.  
Discussion here: 
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=112485

Original comment by wes...@gmail.com on 5 Oct 2011 at 8:09

GoogleCodeExporter commented 8 years ago
Fixed in the 1.0-associated sources, and now shipping on new hardware.

Original comment by wes...@gmail.com on 20 Dec 2011 at 6:33