Go to file
Matthijs Kooijman 518cbca8ee Further optimize SoftwareSerial::write
This change restructures the loop, to help the compiler generate shorter
code (because now only the LSB of the data byte is checked and
subsequent bytes are shifted down one by one, it can use th "skip if bit
set" instruction).

Furthermore, it puts most attributes in local variables, which causes
the compiler to put them into registers. This makes the timing-critical
part of the code smaller, making it easier to provide accurate timings.

On an Arduino uno using gcc 4.3, this saves 58 bytes. On gcc 4.8, this
saves 14 bytes.
2015-01-26 17:03:25 +01:00
bootloaders merge 2013-10-14 12:42:42 +02:00
cores/arduino Temporary fix for pulseIn() regression. 2015-01-18 17:34:40 +01:00
firmwares Merge branch 'master' into ide-1.5.x 2014-09-16 12:19:39 +02:00
libraries Further optimize SoftwareSerial::write 2015-01-26 17:03:25 +01:00
variants Merge branch 'master' into ide-1.5.x 2014-02-12 17:17:33 +01:00
boards.txt set correct max size for mega2560 2014-09-20 03:09:54 +05:30
platform.txt Upped version to 1.6.0 2014-11-18 14:48:01 +01:00
programmers.txt added support for the ArduinoISP 2014-07-02 15:03:12 +02:00