URL:
<http://savannah.nongnu.org/bugs/?26840>
Summary: Missing #define in iom32m1.h
Project: AVR C Runtime Library
Submitted by: hammill
Submitted on: Thu 18 Jun 2009 04:05:01 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.6.6
Fixed Release: None
_______________________________________________________
Details:
I had to add a missing #define in the WinAVR header file:
c:\programs\winavr-20090313\avr\include\avr\iom32m1.h
On line 685 of the file, I inserted the definition for DAOE:
#define DACON _SFR_MEM8(0x90)
#define DAEN 0
#define DAOE 1 // this line has to be added!
#define DALA 2
#define DATS0 4
#define DATS1 5
#define DATS2 6
#define DAATE 7
The
#define DAOE 1
Was missing for some reason. I checked and this is correct per the
datasheet.
The definition is also missing from:
iom16m1.h
iom64m1.h
iom32c1.h
iom64c1.h
Thanks,
Brian
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 18 Jun 2009 04:05:01 PM GMT Name: iom32m1.h Size: 32kB By:
hammill
This is the corrected header file.
<http://savannah.nongnu.org/bugs/download.php?file_id=18290>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26840>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev