Boo0ns / arduino

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

should be possible to compile optiboot using the Arduino-installed tools. #487

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?
It should be possibles for users who have installed only the arduino IDE on 
their Mac or PC to rebuild optiboot, using the tools that are installed with 
the IDE.

Why?
To be able to fix bugs and make changes, similar to the way it is possible to 
change the arduino core and libraries.

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?
No imcompatabilities.  Some chance for users to hurt themselves...

Original issue reported on code.google.com by wes...@gmail.com on 27 Feb 2011 at 8:54

GoogleCodeExporter commented 9 years ago
The following modifications implement the proposed change:

1) diffs for .../optiboot/Makefile to use paths relative to the Arduino 
optiboot directory.  Also a fix for a compiler issue in the version distributed 
with Arduino.
2) add file "omake" (should be set executable) for mac shell
3) add file "omake.bat" for PC command prompt.

Net effect: a user with the Arduino IDE installed can use a Terminal (mac) or 
Command Prompt (windows) window, connect to the 
.../hardware/arduino/bootloaders/optiboot directory, and type "./omake 
<arguments>" (mac) or "omake <arguments>"(windows), and the right thing should 
happen.

Original comment by wes...@gmail.com on 27 Feb 2011 at 9:04

Attachments:

GoogleCodeExporter commented 9 years ago
Oops.  Wrong diffs...

Original comment by wes...@gmail.com on 27 Feb 2011 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
An option to compile in the arduino source code tree would also be nice.

Original comment by wes...@gmail.com on 5 Jun 2011 at 7:21

GoogleCodeExporter commented 9 years ago
While fiddling with the makefile, add the "-nostdlib" switch required by some 
compiler versions. ( http://code.google.com/p/optiboot/issues/detail?id=1 )  
(in fact required by the compiler currently shipping with arduino.)

Original comment by wes...@gmail.com on 5 Jun 2011 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by wes...@gmail.com on 10 Jun 2011 at 11:01

GoogleCodeExporter commented 9 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