54 Commits (fd41329e8035d07c3032714167c2b1ed937d3aee)

Author SHA1 Message Date
Andrew Tridgell f812fc921f build: fixed more build warnings 13 years ago
Andrew Tridgell 1fe297ab63 FastSerial: added tx_pending() method 13 years ago
Andrew Tridgell 9c1ce9e1c5 FastSerial: avoid buffer re-allocation on re-open if possible 13 years ago
Andrew Tridgell 0c445101ff FastSerial: added set_blocking_writes() interface 13 years ago
Randy Mackay 8533aaf5d9 AP_PID, AP_RC_Channel, FastSerial - small changes to make example sketches compile again 13 years ago
Randy Mackay ed19c25a97 Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h". 13 years ago
Mike Smith 3582ad4e20 Fix issue #423 - FastSerial flush bug. 13 years ago
Andrew Tridgell 294c812b9b desktop: use the libc printf engine 13 years ago
Andrew Tridgell 41dd8d60ba use ifdef for DESKTOP_BUILD 14 years ago
Andrew Tridgell 288aba074f fastserial: allow vprintf() to build without assembler 14 years ago
James Goppert 0c7c508541 Optional recursion added. 14 years ago
James Goppert 5489b84f8e Improvements to cmake. 14 years ago
James Goppert d887a28b91 Added ArduBoat/ ArduRover/ and APO library. 14 years ago
James Goppert 71fbdf721a Added APO branch. 14 years ago
unknown a4e001bbcf Adding CMake support 14 years ago
tridge60@gmail.com 2e989fd101 replace space() with txspace() 14 years ago
tridge60@gmail.com c822bad359 added txspace() method to FastSerial 14 years ago
DrZiplok 73004e45dc Add a method to BetterStream and FastSerial that can be used to report 14 years ago
james.goppert 7809b0ca2a Massive warning fixes. 14 years ago
james.goppert aa598b575a APO merge. 14 years ago
james.goppert@gmail.com 2d1b59e9a6 Eclipse makefile support for examples. 14 years ago
mich146@hotmail.com c8281da5ec FastSerial Fix 14 years ago
tridge60@gmail.com 860998d337 implemented typesafe PSTR() 14 years ago
DrZiplok@gmail.com fdde092213 Extend the logic that preserves buffer sizing on re-begin by also avoiding freeing and re-allocating buffers when they don't change in size. 14 years ago
DrZiplok@gmail.com 8c9a5d36d8 Add documentation and reformat closer to our current code standard. 14 years ago
DrZiplok 814a16000a Simplify FastSerial::begin baudrate calculations in line with the changes made in Arduino-0022 14 years ago
DrZiplok 44b95ac5b3 Improve documentation re: macros used to define serial ports. 14 years ago
DrZiplok 47bb4d22c6 Use the presence of UDRx as an indication that the serial port x might need to be supported. 14 years ago
rmackay9@yahoo.com a257c51a09 Some changes to fix compile errors when using ATmega2560. 14 years ago
DrZiplok@gmail.com 363d9156d1 Change the way that we do board-to-board portability to avoid knowing about specific AVR devices; use the availability of registers/vectors instead. This lets us reduce the overall macro evil as well. 14 years ago
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