|
@ -137,31 +137,33 @@ const PinInfo pin_array[] PROGMEM = { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if SERIAL_PORT_2 == 0 |
|
|
#ifdef SERIAL_PORT_2 |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
#if SERIAL_PORT_2 == 0 |
|
|
{ RXD_NAME_0, 0, true }, |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
{ TXD_NAME_0, 1, true }, |
|
|
{ RXD_NAME_0, 0, true }, |
|
|
#elif AVR_ATmega1284_FAMILY |
|
|
{ TXD_NAME_0, 1, true }, |
|
|
{ RXD_NAME_0, 8, true }, |
|
|
#elif AVR_ATmega1284_FAMILY |
|
|
{ TXD_NAME_0, 9, true }, |
|
|
{ RXD_NAME_0, 8, true }, |
|
|
#endif |
|
|
{ TXD_NAME_0, 9, true }, |
|
|
#elif SERIAL_PORT_2 == 1 |
|
|
#endif |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
#elif SERIAL_PORT_2 == 1 |
|
|
{ RXD_NAME_1, 19, true }, |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
{ TXD_NAME_1, 18, true }, |
|
|
{ RXD_NAME_1, 19, true }, |
|
|
#elif AVR_ATmega1284_FAMILY |
|
|
{ TXD_NAME_1, 18, true }, |
|
|
{ RXD_NAME_1, 10, true }, |
|
|
#elif AVR_ATmega1284_FAMILY |
|
|
{ TXD_NAME_1, 11, true }, |
|
|
{ RXD_NAME_1, 10, true }, |
|
|
#endif |
|
|
{ TXD_NAME_1, 11, true }, |
|
|
#elif SERIAL_PORT_2 == 2 |
|
|
#endif |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
#elif SERIAL_PORT_2 == 2 |
|
|
{ RXD_NAME_2, 17, true }, |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
{ TXD_NAME_2, 16, true }, |
|
|
{ RXD_NAME_2, 17, true }, |
|
|
#endif |
|
|
{ TXD_NAME_2, 16, true }, |
|
|
#elif SERIAL_PORT_2 == 3 |
|
|
#endif |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
#elif SERIAL_PORT_2 == 3 |
|
|
{ RXD_NAME_3, 15, true }, |
|
|
#if (AVR_ATmega2560_FAMILY || defined(ARDUINO_ARCH_SAM)) |
|
|
{ TXD_NAME_3, 14, true }, |
|
|
{ RXD_NAME_3, 15, true }, |
|
|
|
|
|
{ TXD_NAME_3, 14, true }, |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|