Hello,
I saw that I ought to be able to use Serial1 on the Moteino MEGA. I'm running into a weird issue ...
If I put:
In my sketch, it works,
If I put:
Serial.begin(115200);
Serial1.begin(115200);
In my sketch it blows up with quite a wacky error:
lto1.exe: internal compiler error: in splice_child_die, at dwarf2out.c:4905
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper.exe: fatal error: D:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
d:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
Uh ... WHAT?
If I comment that one Serial1 line ... everything works.
Ideas?