ArduinoCore-avr/cores/arduino
Matthijs Kooijman 462e5137cf Remove unneeded register and ISR names in HardwareSerialx.cpp
Before, HardwareSerial1+.cpp were a copy of HardwareSerial1.cpp with all
0's replaced by the corresponding number. This would mean that e.g.
the Serial1 object would use the UBRRL register instead of UBRR1L when
it was defined, or the USART_RX_vect instead of USART1_RX_vect.

In practice, this would neve actually cause problems, since:
 - No avr chip currently has both the non-numbered registers as well as
   numbered registers.
 - HardwareSerial.h would only define HAVE_HWSERIALx when the
   corresponding numbered register is defined (except for
   HAVE_HWSERIAL0, which is also defined when the unnumbered registers
   are present).

Furthermore, before both the UARTx_xx_vect and USART_x_xx_vect was used.
Looking at the include files, only UART1_xx_vect is actually used (by
iom161.h), the others use USARTx_xx_vect. For this reason,
HardwareSerial1.cpp keeps the preprocessor conditional to select either
UART or USART and the other files use USART unconditionally.

While we're here, also fix the compiler error message when no valid ISR
name was found (it previously said "for the first UART" in all cases).
2014-05-06 10:26:46 +02:00
..
avr-libc Merged 1.0.5 2013-04-03 13:51:04 +02:00
Arduino.h Instead of #defining true and false, include stdbool.h 2014-02-19 16:09:29 +01:00
CDC.cpp Fixed other trivial warnings in AVR USB core. 2014-04-20 23:08:55 +02:00
Client.h Added license for Client, IPAddressm and Server 2014-02-10 12:55:16 +01:00
HID.cpp Fixed other trivial warnings in AVR USB core. 2014-04-20 23:08:55 +02:00
HardwareSerial.cpp Fix comment typo 2014-05-06 10:19:08 +02:00
HardwareSerial.h Added support for different size of TX and RX buffer sizes. 2014-03-24 21:40:12 +01:00
HardwareSerial0.cpp Remove unneeded register and ISR names in HardwareSerialx.cpp 2014-05-06 10:26:46 +02:00
HardwareSerial1.cpp Remove unneeded register and ISR names in HardwareSerialx.cpp 2014-05-06 10:26:46 +02:00
HardwareSerial2.cpp Remove unneeded register and ISR names in HardwareSerialx.cpp 2014-05-06 10:26:46 +02:00
HardwareSerial3.cpp Remove unneeded register and ISR names in HardwareSerialx.cpp 2014-05-06 10:26:46 +02:00
HardwareSerial_private.h Use correct type for index calculation in HardwareSerial 2014-04-01 17:18:02 +02:00
IPAddress.cpp Use a union in IPAddress for uint8_t[] <-> uint32_t conversion 2014-02-19 16:09:29 +01:00
IPAddress.h Use a union in IPAddress for uint8_t[] <-> uint32_t conversion 2014-02-19 16:09:29 +01:00
Platform.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Print.cpp Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast 2013-12-31 20:11:08 +01:00
Print.h Add Print::write(const char *, size_t) 2013-12-24 13:22:42 +01:00
Printable.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Server.h Added license for Client, IPAddressm and Server 2014-02-10 12:55:16 +01:00
Stream.cpp Don't store peeked characters in a char variable 2014-02-19 16:09:30 +01:00
Stream.h Add uint8_t* versions of methods in Stream 2013-12-24 13:22:42 +01:00
Tone.cpp fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
USBAPI.h Centrally decide which hardware UARTS are available 2014-01-22 09:38:34 +01:00
USBCore.cpp Fixed other trivial warnings in AVR USB core. 2014-04-20 23:08:55 +02:00
USBCore.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
USBDesc.h Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
Udp.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
WCharacter.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
WInterrupts.c Merged 1.0.5 2013-05-29 18:30:36 +02:00
WMath.cpp Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
WString.cpp Improved portability of String class (maniacbug) 2014-01-01 17:22:40 +01:00
WString.h Fixed String class regression after f80c6c5f35cddcf4761a3c97feb8504425e9d27d 2013-09-03 18:40:30 +02:00
binary.h Added license for Arduino.h, binary.h and main.cpp 2014-02-10 12:55:16 +01:00
hooks.c Added general yield()-hook for cooperative scheduling development (part 2) 2012-11-02 18:12:21 +01:00
main.cpp Added license for Arduino.h, binary.h and main.cpp 2014-02-10 12:55:16 +01:00
new.cpp Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
new.h Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
wiring.c Merged 1.0.5 2013-04-03 13:51:04 +02:00
wiring_analog.c Merge branch 'master' into ide-1.5.x 2013-07-31 17:33:55 +02:00
wiring_digital.c Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
wiring_private.h Fix EXTERNAL_NUM_INTERRUPTS for atmega128rfa1 and atmega256rfr2 2014-05-02 12:50:07 +02:00
wiring_pulse.c fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
wiring_shift.c fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00