<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel">
    <title>gmane.comp.hardware.avr.libc.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6199"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6198"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6197"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6196"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6195"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6194"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6193"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6192"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6191"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6190"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6189"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6188"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6187"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6186"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6185"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6184"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6183"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6182"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6181"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6180"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6199">
    <title>[bug #36454] string.h: Error for long long in C90</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6199</link>
    <description>&lt;pre&gt;Update of bug #36454 (project avr-libc):

                  Status:             In Progress =&amp;gt; Fixed                  
             Open/Closed:                    Open =&amp;gt; Closed                 
           Fixed Release:                    None =&amp;gt; 1.8.1                  


    _______________________________________________________

Reply to this item at:

  &amp;lt;http://savannah.nongnu.org/bugs/?36454&amp;gt;

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-05-14T15:39:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6198">
    <title>[bug #36454] string.h: Error for long long in C90</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6198</link>
    <description>&lt;pre&gt;Follow-up Comment #4, bug #36454 (project avr-libc):


Yes, looks better. No more complaints.

Thanks.


    _______________________________________________________

Reply to this item at:

  &amp;lt;http://savannah.nongnu.org/bugs/?36454&amp;gt;

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/
&lt;/pre&gt;</description>
    <dc:creator>Georg-Johann Lay</dc:creator>
    <dc:date>2012-05-14T13:41:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6197">
    <title>[bug #36454] string.h: Error for long long in C90</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6197</link>
    <description>&lt;pre&gt;Follow-up Comment #3, bug #36454 (project avr-libc):

Another try:

Index: include/string.h
===================================================================
--- include/string.h    (revision 2291)
+++ include/string.h    (working copy)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -110,7 +110,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 extern int ffs (int __val) __ATTR_CONST__;
 extern int ffsl (long __val) __ATTR_CONST__;
-extern int ffsll (long long __val) __ATTR_CONST__;
+__extension__ extern int ffsll (long long __val) __ATTR_CONST__;
 extern void *memccpy(void *, const void *, int, size_t);
 extern void *memchr(const void *, int, size_t) __ATTR_PURE__;
 extern int memcmp(const void *, const void *, size_t) __ATTR_PURE__;

The advantage of using __extension__ over the #ifdef solution
is that it also covers the -std=gnu89 case.

    _______________________________________________________

Reply to this item at:

  &amp;lt;http://savannah.nongnu.org/bugs/?36454&amp;gt;

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-05-12T14:12:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6196">
    <title>[bug #36454] string.h: Error for long long in C90</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6196</link>
    <description>&lt;pre&gt;Update of bug #36454 (project avr-libc):

                  Status:                    None =&amp;gt; In Progress            
             Assigned to:                    None =&amp;gt; joerg_wunsch           

    _______________________________________________________

Follow-up Comment #1:

Would this help?

Index: include/string.h
===================================================================
--- include/string.h    (revision 2291)
+++ include/string.h    (working copy)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -110,7 +110,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 extern int ffs (int __val) __ATTR_CONST__;
 extern int ffsl (long __val) __ATTR_CONST__;
-extern int ffsll (long long __val) __ATTR_CONST__;
+extern int ffsll (__extension__ long long __val) __ATTR_CONST__;
 extern void *memccpy(void *, const void *, int, size_t);
 extern void *memchr(const void *, int, size_t) __ATTR_PURE__;
 extern int memcmp(const void *, const void *, size_t) __ATTR_PURE__;


    _______________________________________________________

Reply to this item at:

  &amp;lt;http://savannah.nongnu.org/bugs/?36454&amp;gt;

_&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-05-12T09:15:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6195">
    <title>[bug #36454] string.h: Error for long long in C90</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6195</link>
    <description>&lt;pre&gt;URL:
  &amp;lt;http://savannah.nongnu.org/bugs/?36454&amp;gt;

                 Summary: string.h: Error for long long in C90
                 Project: AVR C Runtime Library
            Submitted by: gjlayde
            Submitted on: Sa 12 Mai 2012 08:27:10 GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

string.h contains the following lines:

# define __ATTR_CONST____attribute__((__const__))
extern int ffsll (long long __val) __ATTR_CONST__;

long long is available since C99. Consequently, compiling or syntax-checking
the above line with C90 may run into

error: ISO C90 does not support 'long long' [-Wlong-long]

This is particularly inconvenient&lt;/pre&gt;</description>
    <dc:creator>Georg-Johann Lay</dc:creator>
    <dc:date>2012-05-12T08:27:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6194">
    <title>Re: avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6194</link>
    <description>&lt;pre&gt;It is now filed as bug #36410.

Thanks, Axel
&lt;/pre&gt;</description>
    <dc:creator>uracolix</dc:creator>
    <dc:date>2012-05-06T09:01:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6193">
    <title>[bug #36410] avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6193</link>
    <description>&lt;pre&gt;URL:
  &amp;lt;http://savannah.nongnu.org/bugs/?36410&amp;gt;

                 Summary: avr/boot.h: poisoned SPMCR for ATmega128
                 Project: AVR C Runtime Library
            Submitted by: awachtler
            Submitted on: So 06 Mai 2012 09:00:05 GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

If avr/boot.h is just included in a source file and the file is compiled for
atmega128, the compiler raises an error.

Here are the steps to reproduce the issue:
--------------------------------------------
$ cat foo.c
#include &amp;lt;avr/version.h&amp;gt;
#include &amp;lt;avr/boot.h&amp;gt;

$ avr-gcc -c  -mmcu=atmega128 foo.c
In file included from foo.c:2:0:
&lt;/pre&gt;</description>
    <dc:creator>Axel Wachtler</dc:creator>
    <dc:date>2012-05-06T09:00:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6192">
    <title>Re: avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6192</link>
    <description>&lt;pre&gt;

Ouch.  Point taken.

Please file a bug report.

&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-05-05T21:56:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6191">
    <title>Re: avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6191</link>
    <description>&lt;pre&gt;

On 05.05.2012 22:43, Joerg Wunsch wrote:

Yes, but just by inclusion of avr/boot.h a source file does not
compile anymore. How can this be fixed from the user perspective?

Axel
&lt;/pre&gt;</description>
    <dc:creator>uracolix</dc:creator>
    <dc:date>2012-05-05T21:29:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6190">
    <title>Re: avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6190</link>
    <description>&lt;pre&gt;

ATmega128's IO register 0x68 has got the name SPMCSR, starting with
the revision E datasheet 05/2002.  This replaced the former name
SMPCR.
&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-05-05T20:43:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6189">
    <title>Re: avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6189</link>
    <description>&lt;pre&gt;I found on another machine an avr-gcc 4.3.5 with an avr-libc 1.6.8
and it works with atmega128.

--
Axel
&lt;/pre&gt;</description>
    <dc:creator>uracolix</dc:creator>
    <dc:date>2012-05-05T14:54:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6188">
    <title>avr/boot.h: poisoned SPMCR for ATmega128</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6188</link>
    <description>&lt;pre&gt;Hallo list,

I recently stumbled across the following error with avr-libc 1.8.0.

--------------------------------------------
$ cat foo.c
#include &amp;lt;avr/version.h&amp;gt;
#include &amp;lt;avr/boot.h&amp;gt;

$ avr-gcc -c  -mmcu=atmega128 foo.c
In file included from foo.c:2:0:
/home/myavrtools/avr-gcc470/lib/gcc/avr/4.7.0/../../../../avr/include/avr/boot.h:112:16: 
error: attempt to use poisoned "SPMCR"

$ avr-gcc -c  -mmcu=atmega1281 foo.c
--------------------------------------------
For atmega1281 it works with no error.

My compiler is either avr-gcc 4.5.1 or 4.7.0, both compilers use
avr-libc 1.8.0

Thanks for any help, Axel
&lt;/pre&gt;</description>
    <dc:creator>uracolix</dc:creator>
    <dc:date>2012-05-05T14:50:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6187">
    <title>Re: including avr/boot.h for xmega devices</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6187</link>
    <description>&lt;pre&gt;I've finally managed to get the stuff working (avr-libc was the main issue).

To save me from some typing I simply copy paste below my message to Dean.

Cheers,
 Omar.

-----------------------

Hi Dean,

I finally managed to integrate the new version with my xmega (still
have to build smth ... but at least is compiling).

I took the last git version from last week, then added the
VirtualSerialX project you gave on the forum and then modified a bit
the makefiles to suit my project.

However it didn't work with the last .deb package containing avr-libc
1.7.1. With that version I get a bunch of errors, mostly relating to
the fact that avr-libc 1.7.1 is behind on the support for XMega U's
(the ones with USB).

There is no avr/iox256a3u.h file for example.

To give my point, here is what I got:

In file included from
xmega_lufa_virtual_serial/../LUFA/Drivers/USB/Core/XMEGA/../USBInterrupt.h:64:0,
from xmega_lufa_virtual_serial/../LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h:56,
from xmega_lufa_virtual_serial&lt;/pre&gt;</description>
    <dc:creator>Omar Choudary</dc:creator>
    <dc:date>2012-05-01T19:42:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6186">
    <title>Re: including avr/boot.h for xmega devices</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6186</link>
    <description>&lt;pre&gt;

 

I don't think boot.h has been systematically tested on xmega devices. It probably doesn't work.

Eric
&lt;/pre&gt;</description>
    <dc:creator>Weddington, Eric</dc:creator>
    <dc:date>2012-04-30T17:54:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6185">
    <title>including avr/boot.h for xmega devices</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6185</link>
    <description>&lt;pre&gt;Hello,

I am trying to adapt LUFA for a project using the atxmega256a3u.

I took the last svn version and added the VirtualSerialX provided by
Dean in a post:
http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=117994&amp;amp;highlight=lufa

This code includes avr/boot.h at some point. However, avr-libc (I'm
using 1.7.1) is complaining about the SMP instruction:

/usr/local/avr/lib/gcc/avr/4.5.1/../../../../avr/include/avr/boot.h:115:4:
error: #error AVR processor does not provide bootloader support!
/usr/local/avr/lib/gcc/avr/4.5.1/../../../../avr/include/avr/boot.h:125:4:
error: #error Cannot find SPM Enable bit definition!

I've checked the forum and it seems this problem was reported:
http://savannah.nongnu.org/bugs/?29187

there is also a post about how to build your bootloader:
http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=79592&amp;amp;postdays=0&amp;amp;postorder=asc

but... I don't want a bootloader. I just want LUFA to work. Therefore
I was looking for the quickest way to do this.

On the&lt;/pre&gt;</description>
    <dc:creator>Omar Choudary</dc:creator>
    <dc:date>2012-04-30T16:29:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6184">
    <title>[bug #36350] FUSE4_DEFAULT wrong for Xmega A devices</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6184</link>
    <description>&lt;pre&gt;URL:
  &amp;lt;http://savannah.nongnu.org/bugs/?36350&amp;gt;

                 Summary: FUSE4_DEFAULT wrong for Xmega A devices
                 Project: AVR C Runtime Library
            Submitted by: joerg_wunsch
            Submitted on: Mon 30 Apr 2012 01:50:42 PM CEST
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.1
           Fixed Release: None

    _______________________________________________________

Details:

j&amp;lt; at &amp;gt;uriah 55% fgrep FUSE4_DEFAULT include/avr/iox*
include/avr/iox128a1.h:#define FUSE4_DEFAULT  (0xFF)
include/avr/iox128a3.h:#define FUSE4_DEFAULT  (0xFF)
include/avr/iox128d3.h:#define FUSE4_DEFAULT  (0xFF)
include/avr/iox16a4.h:#define FUSE4_DEFAULT  (0xFF)
include/avr/iox16d4.h:#define FUSE4_DEFAULT  (0xFF)
include/avr/iox19&lt;/pre&gt;</description>
    <dc:creator>Joerg Wunsch</dc:creator>
    <dc:date>2012-04-30T11:50:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6183">
    <title>[bug #36168] LUFA BuildTests fails for xmega device- incorrect header files</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6183</link>
    <description>&lt;pre&gt;URL:
  &amp;lt;http://savannah.nongnu.org/bugs/?36168&amp;gt;

                 Summary: LUFA BuildTests fails for xmega device - incorrect
header files
                 Project: AVR C Runtime Library
            Submitted by: madworm
            Submitted on: Fri 13 Apr 2012 03:01:37 PM GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

See: http://code.google.com/p/lufa-lib/issues/detail?id=47




    _______________________________________________________

Reply to this item at:

  &amp;lt;http://savannah.nongnu.org/bugs/?36168&amp;gt;

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
&lt;/pre&gt;</description>
    <dc:creator>Robert Spitzenpfeil</dc:creator>
    <dc:date>2012-04-13T15:01:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6182">
    <title>[bug #36124] Improve documentation on .bss clearwhen used in assembler</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6182</link>
    <description>&lt;pre&gt;URL:
  &amp;lt;http://savannah.nongnu.org/bugs/?36124&amp;gt;

                 Summary: Improve documentation on .bss clear when used in
assembler
                 Project: AVR C Runtime Library
            Submitted by: wek
            Submitted on: Sat 07 Apr 2012 02:02:23 PM GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Any
           Fixed Release: None

    _______________________________________________________

Details:

Newer builds of the avr-gcc toolchain, such as WinAVR20100110, or builds
including the PR18145 fixup (4.7+), contain a patch which results in
conditional linking of the .bss cleanup loop only if it is needed for the C
source (similarly for the initialized .data). This may lead to surprising
behaviour when such va&lt;/pre&gt;</description>
    <dc:creator>Jan Waclawek</dc:creator>
    <dc:date>2012-04-07T14:02:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6181">
    <title>Re: Possibly incorrect wdt implementation for xmega</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6181</link>
    <description>&lt;pre&gt;I've found that the iox256a3.h file actually contains the more correct values:
/* Period setting */
typedef enum WDT_PER_enum
{
    WDT_PER_8CLK_gc = (0x00&amp;lt;&amp;lt;2),  /* 8 cycles (8ms &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_16CLK_gc = (0x01&amp;lt;&amp;lt;2),  /* 16 cycles (16ms &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_32CLK_gc = (0x02&amp;lt;&amp;lt;2),  /* 32 cycles (32ms &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_64CLK_gc = (0x03&amp;lt;&amp;lt;2),  /* 64 cycles (64ms &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_128CLK_gc = (0x04&amp;lt;&amp;lt;2),  /* 128 cycles (0.125s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_256CLK_gc = (0x05&amp;lt;&amp;lt;2),  /* 256 cycles (0.25s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_512CLK_gc = (0x06&amp;lt;&amp;lt;2),  /* 512 cycles (0.5s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_1KCLK_gc = (0x07&amp;lt;&amp;lt;2),  /* 1K cycles (1s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_2KCLK_gc = (0x08&amp;lt;&amp;lt;2),  /* 2K cycles (2s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_4KCLK_gc = (0x09&amp;lt;&amp;lt;2),  /* 4K cycles (4s &amp;lt; at &amp;gt; 3.3V) */
    WDT_PER_8KCLK_gc = (0x0A&amp;lt;&amp;lt;2),  /* 8K cycles (8s &amp;lt; at &amp;gt; 3.3V) */
} WDT_PER_t;

However, as you mention, I doubt the code in the avr-libc is using
that properly. At least not from what I've seen.

On Fri, Apr 6, 2012 at 4:46 PM, Erik Walthinsen &amp;lt;om&lt;/pre&gt;</description>
    <dc:creator>Omar Choudary</dc:creator>
    <dc:date>2012-04-06T16:16:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6180">
    <title>Possibly incorrect wdt implementation for xmega</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6180</link>
    <description>&lt;pre&gt;Hello,

I was trying to compile a program that used the WDTO_4S value with an
xmega (ATXMEGA256A3U) and I got a compilation error (value not
defined).

Looking at the source (avr/include/avr/wdt.h) it seems that indeed the
values above 2S are not defined for the xmega family:

/** \ingroup avr_watchdog
    See \c WDT0_15MS
    Note: This is only available on the
    ATtiny2313,
    ATtiny24, ATtiny44, ATtiny84, ATtiny84A,
    ATtiny25, ATtiny45, ATtiny85,
    ATtiny261, ATtiny461, ATtiny861,
    ATmega48, ATmega88, ATmega168,
    ATmega48P, ATmega88P, ATmega168P, ATmega328P,
    ATmega164P, ATmega324P, ATmega644P, ATmega644,
    ATmega640, ATmega1280, ATmega1281, ATmega2560, ATmega2561,
    ATmega8HVA, ATmega16HVA, ATmega32HVB,
    ATmega406, ATmega1284P,
    AT90PWM1, AT90PWM2, AT90PWM2B, AT90PWM3, AT90PWM3B, AT90PWM216, AT90PWM316,
    AT90PWM81,
    AT90USB82, AT90USB162,
    AT90USB646, AT90USB647, AT90USB1286, AT90USB1287,
    ATtiny48, ATtiny88.
    */
#define WDTO_4S     8

That is strange, since the &lt;/pre&gt;</description>
    <dc:creator>Omar Choudary</dc:creator>
    <dc:date>2012-04-06T13:03:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6179">
    <title>Re: Possibly incorrect wdt implementation for xmega</title>
    <link>http://permalink.gmane.org/gmane.comp.hardware.avr.libc.devel/6179</link>
    <description>&lt;pre&gt;
I can confirm that the xmega WDT stuff is very broken, I've resorted to 
not only figuring the register values myself but ditching the entire 
wdt_enable/disable code and just doing it myself with the CCP register 
and all.  I'd fix it if I had time, but.... ;-(
&lt;/pre&gt;</description>
    <dc:creator>Erik Walthinsen</dc:creator>
    <dc:date>2012-04-06T15:46:56</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.hardware.avr.libc.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.hardware.avr.libc.devel</link>
  </textinput>
</rdf:RDF>

