SKcoch / optiboot

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

Missing String.h in cores folder! #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Optiboot in the Sketches Directory
2. Attempt to use String as a variable type
3. Missing String.h

What is the expected output? What do you see instead?
The code should compile, but is missing String.h

What version of the product are you using? On what operating system?
v3, arudino IDE 22, Ubuntu 10.04 LTS

Please provide any additional information below.

This is the work around:

Copy the Arduino folder Core or String.h from the following path:
folder: /arduino-0022/hardware/arduino/cores/
String.h: /arduino-0022/hardware/arduino/cores/arduino/String.h

And paste the folder or String.h into Optibooot cores path, in the sketchbook 
folder. 
Paste Folder into: /sketchbook/hardware/optiboot/cores/
Paste String.h into: /sketchbook/hardware/optiboot/cores/arduino/

Original issue reported on code.google.com by Jonathan...@gmail.com on 3 Sep 2011 at 6:07

GoogleCodeExporter commented 9 years ago
not a bug.  optiboot doesn't use String.h, and isn't meant to be built in the 
sketches directory.  Also, optiboot is a C program, and String is a C++ data 
type, and even if it could be used it would blow the bootloader size limits out 
of the water.

Original comment by wes...@gmail.com on 15 Sep 2011 at 6:36

GoogleCodeExporter commented 9 years ago
String.h is a part of the standard C library.

Original comment by Jonathan...@gmail.com on 17 Sep 2011 at 10:08

GoogleCodeExporter commented 9 years ago
String.h is not part of optiboot.
I'm not even sure why "cores" is included in the source; I think this is for 
compatibility with an older distribution of the Arduino Source.

Original comment by wes...@gmail.com on 29 Oct 2011 at 5:32