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.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@555 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
DrZiplok@gmail.com
d45f67b3ef
Add a carriage return before printing a newline when we are called as stdout/stderr.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@547 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
DrZiplok@gmail.com
f72129bdb3
Clean up the bitrate calculations per the Atmel datasheet.
...
Verified that when configured for 115200, the actual output as seen on a scope is around 117600Hz consistent with the +2.1% error in the datasheet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@542 f9c3cf11-9bcb-44bc-f272-b75c42450872
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.
...
At 115200 we expect ~100us between interrupts, or around 5% CPU overhead. 4us latency is probably acceptable for servo signal jitter too if we decide to consider using the Arduino Servo library.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@513 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
analoguedevices
63ae72648e
Commented out AP_Common, which is not implemented yet.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@443 f9c3cf11-9bcb-44bc-f272-b75c42450872
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.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@387 f9c3cf11-9bcb-44bc-f272-b75c42450872
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.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@321 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
DrZiplok@gmail.com
6074c410d9
"Fast" serial driver that fully overrides the Arduino-provided HardwareSerial/Serial* driver.
...
15 years ago