patchAVR C Runtime Library - Patches: patch #5647, Patches to add ATmega3290P device...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5647: Patches to add ATmega3290P device to binutils, gcc.

Submitter:  Eric Weddington <arcanum>
Submitted:  Sun 24 Dec 2006 06:52:44 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Jump to the original submission

Mon 02 Apr 2007 07:02:57 PM UTC, comment #6: 

Support for ATmega325P/3250P/329P/3290P devices is added in       binutils 2.18

Anatoly Sokolov <aesok>
Group administrator
Tue 06 Mar 2007 08:34:18 PM UTC, comment #5: 

Support for ATmega325P/3250P/329P/3290P devices is added in GCC 4.2 and HEAD (4.3).

Anatoly Sokolov <aesok>
Group administrator
Sat 24 Feb 2007 11:19:40 AM UTC, comment #4: 

Support for ATmega325P/329P/3290P devices is added in avr-libc 1.4.6 and HEAD.

Anatoly Sokolov <aesok>
Group administrator
Wed 24 Jan 2007 10:34:53 PM UTC, comment #3: 

Joerg, thanks that you have found differences between 'P' and 'non-P' devices. My opinion: if 'P' and 'non-P' devices have differences then 'P' devices need to be added in the GCC toolchain.


Anatoly Sokolov <aesok>
Group administrator
Tue 23 Jan 2007 10:45:53 PM UTC, comment #2: 

I wrote a small script to create the header file #defines out
of the XML files.  I see two differences between the non-P and
the P version:

1) All USART names have been changed to USART0.  However, this
does not match the datasheet of the non-P device, that has
already been using the USART0 names everywhere, so does our
existing header file, and we don't need to change anything
here.

2) The following new IO register bit definitions appeared
in the ATmega3290P XML file:


--- newh/ATmega3290.h   Tue Jan 23 23:30:10 2007
+++ newh/ATmega3290P.h  Tue Jan 23 23:30:16 2007
@@ -309,6 +309,7 @@
 #define LCDCC1                         1
 #define LCDCC2                         2
 #define LCDCC3                         3
+#define LCDMDT                         4
 #define LCDDC0                         5
 #define LCDDC1                         6
 #define LCDDC2                         7
@@ -316,6 +317,8 @@
 /* LCD Control and Status Register A*/
 #define LCDCRA                 _SFR_MEM8(0xE4)
 #define LCDBL                          0
+#define LCDCCD                         1
+#define LCDBD                          2
 #define LCDIE                          3
 #define LCDIF                          4
 #define LCDAB                          6
@@ -566,6 +569,8 @@
 #define IVCE                           0
 #define IVSEL                          1
 #define PUD                            4
+#define BODSE                          5
+#define BODS                           6
 #define JTD                            7

 /* MCU Status Register*/


I think it makes sense to merge them into the existing
header file, but we certainly do need a different MCU type
macro then.

Similar changes apply to ATmega325P, ATmega3250P, and
ATmega329P.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 24 Dec 2006 07:44:50 PM UTC, comment #1: 

IHMO it is not necessary to add  ATmega325P/329P/3250P/3290P devices in the GCC toolchain. They, from the point of view of the gcc/avr-libc, do not differ from ATmega325/329/3250/3290 devices.

ATmega165P/169P and ATmega165/169 devices have different SFR names for USART unit, therefore ATmega165P/169P devices have been added in binutils/gcc/avr-libc.

In a avr-libc-user-manual it is possible to add the information, that ATmega325P/329P/3250P/3290P devices are supported and that they are completely equivalent to devices without suffix 'P'. 

Anatoly.

Anatoly Sokolov <aesok>
Group administrator
Sun 24 Dec 2006 06:52:44 PM UTC, original submission:  

Patches to add ATmega3290P device to binutils, gcc.

Eric Weddington <arcanum>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11877:  avr-libc-add-mega329p-325p-3250p.diff added by aesok (9KiB - application/octet-stream)
file #11873:  binutils-2.17-mega32xxp-pwm1.diff added by aesok (3KiB - application/octet-stream)
file #11874:  gcc-4.3-mega32xxp.diff added by aesok (2KiB - application/octet-stream)
file #11594:  binutils-2.17-atmega3290p.patch added by arcanum (501B - application/octet-stream)
file #11595:  gcc-4.1.1-atmega3290p.patch added by arcanum (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by aesok (Posted a comment)
  • -email is unavailable- added by arcanum (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-07 aesok StatusNone Done
        Open/ClosedOpen Closed
    2007-04-02 aesok Assigned toaesok None
    2007-01-28 aesok Attached File- Added avr-libc-add-mega329p-325p-3250p.diff, #11877
    2007-01-27 aesok Attached File- Added binutils-2.17-mega32xxp-pwm1.diff, #11873
        Attached File- Added gcc-4.3-mega32xxp.diff, #11874
    2006-12-24 arcanum Assigned toNone aesok
    2006-12-24 arcanum Attached File- Added binutils-2.17-atmega3290p.patch, #11594
        Attached File- Added gcc-4.1.1-atmega3290p.patch, #11595

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code