34 Commits (dcbd0fbd4488a4cf782522418d0c620327862579)

Author SHA1 Message Date
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 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
James Goppert d887a28b91 Added ArduBoat/ ArduRover/ and APO library. 14 years ago
James Goppert 71fbdf721a Added APO branch. 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
mich146@hotmail.com c8281da5ec FastSerial Fix 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 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 43262a573f Bring in floating point support for BetterStream::printf, courtesy of the avr-libc implementation. 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 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