Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacbug committed Dec 25, 2011
0 parents commit 99f1542
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Standard C++ for Arduino

## What is this?

This is a straight port of [http://cxx.uclibc.org/](uClibc++) for Arduino.
I have cut nothing out and held nothing back. Use with care!

That said, I have used uClibc++'s own internal configuration to pare back
un-needed stuff, like support for floats, gratuitous template
instantiations and other things. See system\_configuration.h for all of
those gory details.

Plus I added in [http://andybrown.me.uk/ws/2011/01/15/the-standard-template-library-stl-for-avr-with-c-streams/#IDComment246044033](Andy Brown's)
excellent ohserialstream class for managing the HardwareSerial as an ostream.

## How do I install it?

This is installed just like a regular Arduino library. Unpack the contents
of the distribution into the 'libraries' folder under your sketchbook. For
example, my sketchbook is at /home/maniacbug/Source/Arduino, so this
library is in /home/maniacbug/Source/Arduino/libraries/StandardCplusplus .

Be sure to reset your Arduino IDE after using it.

## Which versions does it work with?

Arduino 1.0 and beyond.

## What is the license?

uClibc++ is LGPL, so this port is also. Andy's <serstream> file is actually
CC-BY-SA, however he indicated he'd be releasing it using the 3-clause
modified BSD license, so it will be fully compatible with uClibc++.

0 comments on commit 99f1542

Please sign in to comment.