avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] stumped: minor refactoring of simple programcauses it


From: Eric Pasquier
Subject: Re: [avr-gcc-list] stumped: minor refactoring of simple programcauses it to fail
Date: Thu, 3 Jan 2008 16:57:21 +0100

Dear Joe,

That's why I asked to post your makefile to check the MCU configuration.
You should also check the MAP configuration (RAM, ROM, Heap, ...).

Eric.


----- Original Message ----- From: <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Thursday, January 03, 2008 4:02 PM
Subject: Re: [avr-gcc-list] stumped: minor refactoring of simple programcauses it to fail


OK, once again I am an idiot.  I stared right at this for hours and
somehow didn't see it.  My makefile had the -mmcu flag set to
atmega168, but this chip is an ATmega48.

This apparently can cause all sorts of weird behavior, like some code
working fine while other, very similar code, locks up.

After correcting the mmcu, things appear to work much better!

Thanks for your patience,
- Joe


--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com




_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list






reply via email to

[Prev in Thread] Current Thread [Next in Thread]