[Top][All Lists]

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

Re: [avr-gcc-list] just 2 bytes allocated for uint32_t?

From: Radoslav Kolev
Subject: Re: [avr-gcc-list] just 2 bytes allocated for uint32_t?
Date: Sat, 28 Feb 2009 21:28:39 +0200

Hi Eric,

thanks for the extremely fast replies!

On Sat, Feb 28, 2009 at 9:09 PM, Weddington, Eric
<address@hidden> wrote:
> Used this command line:
> avr-gcc -Os -mmcu=atmega8 -c ATmegaBOOT.c -DF_CPU=8000000UL -o ATmegaBOOT.o
> No warnings, no errors.
> Using avr-gcc 4.3.2.

I have found the problem in my Makefile. Due to a wrong variable
setting I was including the default linux i386 inttypes.h istead of
the correct avr/include one.

I'm attaching the fixed Makefile, just for reference. F_CPU and
BAUD_RATE are defined there.

All works perfectly now!

Thanks again,
Radoslav Kolev

Attachment: Makefile
Description: Binary data

reply via email to

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