[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] boot.h and -mint8
From: |
Theodore A. Roth |
Subject: |
Re: [avr-libc-dev] boot.h and -mint8 |
Date: |
Wed, 17 Sep 2003 16:50:08 -0700 (PDT) |
On Wed, 17 Sep 2003, E.Weddington wrote:
> >
> >
> > On Wed, 17 Sep 2003, E. Weddington wrote:
> >
> > > Here's a patch for boot.h to bring it up to speed for -
> mint8.
> > >
> > > Ted, it's your call whether you want this in for 1.0 or
> after.
> >
> > There's a typo in the patch (#include <inttypes.>)
>
> Pah. Thanks
>
> > The uint8_t changes really aren't needed, but I prefer
> that over the
> > unsigned char stuff.
> >
> > Your patch doesn't seem to address the fact that uint32_t
> is not
> > available for -mint8.
> >
>
> Ok, try this (see bottom of patch).
>
>
Simple test. Compile the following with -mint8 -mmcu=atmega128:
cat test.c << EOF
#include <avr/io.h>
#include <avr/boot.h>
int main (void)
{
return 0;
}
EOF
Works for me.
Ok for HEAD and branch.
Ted Roth