25 Commits (7a0fcd6f590d3e15a7c35172778426a5f7eedd74)

Author SHA1 Message Date
DrZiplok@gmail.com 0fd1228e27 Add ::peek for compatibility with trunk Arduino. 14 years ago
DrZiplok@gmail.com 70baf31139 Resurrect lf -> crlf translation that was lost when I dropped the stdio support. 14 years ago
DrZiplok@gmail.com aa2bbe9131 A better workaround for the PSTR warning bug. This seems to work correctly. 14 years ago
DrZiplok@gmail.com 2dfb44907f Add a test case for printf_P 14 years ago
DrZiplok c473af0082 Back out the "workaround" for PSTR() warnings; it doesn't. 14 years ago
DrZiplok@gmail.com f30bf9cab7 Add format attributes to printf and printf_P. The latter is a bit wishful as gcc isn't smart enough to deal with what PSTR does, but with some other hackery this can be used to generate useful warnings. 14 years ago
DrZiplok@gmail.com 43262a573f Bring in floating point support for BetterStream::printf, courtesy of the avr-libc implementation. 14 years ago
DrZiplok@gmail.com c833182dbe Duplicate include protection for BetterStream.h 14 years ago
DrZiplok@gmail.com 271d4736a8 Factor the Stream-related enhancements out from FastSerial proper, so that we could use them on other Stream subclasses if that seemed worthwhile. 15 years ago
DrZiplok 84697f4111 Fix ::printf_P to transmit to the correct interface. Fixes the XBee test. 15 years ago
DrZiplok@gmail.com ca6d51cddb If ::begin() is called on a port that is already open, preserve the previous buffer settings. This makes it easy to change serial speeds without having to know how the port buffers were set up originally. 15 years ago
DrZiplok@gmail.com 5ba0c7328f Hook up stdio input, for the heck of it. We seem to be moving away from it, but there are things it can do that are hard to do with the Stream interfaces. 15 years ago
DrZiplok@gmail.com d45f67b3ef Add a carriage return before printing a newline when we are called as stdout/stderr. 15 years ago
DrZiplok@gmail.com f72129bdb3 Clean up the bitrate calculations per the Atmel datasheet. 15 years ago
DrZiplok@gmail.com 9db013e648 Stop trying to be so clever in the tx interrupt handler. We may race with the code stuffing bytes into the ring such that we consume the last byte and empty the ring before they set the UDRE interrupt. 15 years ago
DrZiplok@gmail.com 6d31545b8d Per Jose, fix the interrupt vectors to work for non-1280-based Arduino. 15 years ago
DrZiplok@gmail.com 11865c1718 Remove the method call from the interrupt handlers. This brings the rx and tx interrupt paths down to < 60 instructions worst case, or ~4us. 15 years ago
analoguedevices 63ae72648e Commented out AP_Common, which is not implemented yet. 15 years ago
DrZiplok@gmail.com 6268189d31 Dynamically allocate serial buffers at ::begin time. Allow buffer sizes to be dynamically set. 15 years ago
DrZiplok@gmail.com 6b6637bd06 Omit the ::write method, as Print already implements it. 15 years ago
DrZiplok@gmail.com 009ef940c6 Update to take advantage of the new Stream class in Arduino 0019. 15 years ago
DrZiplok@gmail.com e0be94a03f Change the way the port declaration macros work. This saves ~300 15 years ago
DrZiplok@gmail.com 22c9ed317e Change the way that FastSerial ports are created, so that we can avoid 15 years ago
DrZiplok@gmail.com b4a840a336 Add 'extern' definitions to legitimise clients that want to assume that Serial* always exists. 15 years ago
DrZiplok@gmail.com 6074c410d9 "Fast" serial driver that fully overrides the Arduino-provided HardwareSerial/Serial* driver. 15 years ago