jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Serial1, Serial2, Serial3 not working on the Mega (avr-gcc 4.4.1) #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1250084886/all

Original issue reported on code.google.com by dmel...@gmail.com on 18 Oct 2009 at 7:45

GoogleCodeExporter commented 9 years ago
It seems like this is a problem with avr-gcc 4.4.1, which some people are using 
in Linux.  It works under 4.3.2, 
which is included with the Mac and Windows versions of Arduino 0017.

Original comment by dmel...@gmail.com on 20 Oct 2009 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 9 Jan 2010 at 5:30

GoogleCodeExporter commented 9 years ago
This issue also seems to keep the LCD library from working. (confirmed 4.3.2 
GCC on a 
mac works.... 4.4.2 on Fedora 12 does not.)

Original comment by jhohe...@gmail.com on 19 Mar 2010 at 4:54

GoogleCodeExporter commented 9 years ago
I'm having this issue as well with gcc 4.5.0.

Original comment by phlo...@gmail.com on 27 Apr 2010 at 6:30

GoogleCodeExporter commented 9 years ago
Confirmed, under avr-gcc 4.4.2 on fc12 it doesn't work. avr-gcc 4.3.2 and 4.3.3 
DOES
work on fc12. No problems with arduino-0017 on windows xp through.

Original comment by hert.rom...@gmail.com on 11 May 2010 at 3:37

GoogleCodeExporter commented 9 years ago
Has anyone tried with avr-gcc 4.4.4?

Original comment by dmel...@gmail.com on 6 Jul 2010 at 11:20

GoogleCodeExporter commented 9 years ago
It seems like this is a bug in avr-gcc and since I haven't seen any suggestions 
for workarounds that I can do in the Arduino source, I'm marking this as won't 
fix.  I'm hoping that the Linux package maintainers will patch avr-gcc instead.

Original comment by dmel...@gmail.com on 6 Aug 2010 at 1:31

GoogleCodeExporter commented 9 years ago
Here's a possible workaround:
http://andybrown.me.uk/ws/2010/10/24/the-major-global-constructor-bug-in-avr-gcc
/

Original comment by dmel...@gmail.com on 7 Nov 2010 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 23 Dec 2010 at 4:33

GoogleCodeExporter commented 9 years ago
Fixed by itself with newer avr-gcc

Original comment by c.mag...@arduino.cc on 27 May 2015 at 10:47