patchAVR C Runtime Library - Patches: patch #2923, Add infrastructure support for new...

 
 

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

patch #2923: Add infrastructure support for new AVR devices.

Submitter:  Theodore A. Roth <troth>
Submitted:  Thu 08 Apr 2004 05:38:20 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Jump to the original submission

Tue 12 Jul 2005 10:32:57 PM UTC, comment #11: 

Updated the binutils patch for 2.15 with the fixes for the tiny13 and tiny2313 and add support for ATMega165.
Updated the gcc patch for 3.4.4 add support for ATMega165.

Anatoly Sokolov <aesok>
Group administrator
Tue 01 Feb 2005 10:47:58 PM UTC, comment #10: 

Reopened this patch until gcc 4.0.0 and binutils 2.16 is released, that way other users can more easily find the required patches.

Also, updated the gcc patch for 3.4.x with the fixes for the tiny13 and tiny2313, moving them to the avr2 "arch". This patch has been tested on gcc 3.4.3.

Eric Weddington <arcanum>
Group administrator
Mon 29 Nov 2004 04:14:07 AM UTC, comment #9: 

Marek committed my patches to gcc on 2004-11-28.

Also note that binutils, gcc and avr-libc now support the mega165, mega325, mega3250, mega645 and mega6450 in addition to those listed in this patch report.

Theodore A. Roth <troth>
Mon 26 Apr 2004 08:37:15 PM UTC, comment #8: 

Attached is a modified form of the GCC patch for the new devices. The patch is modified to patch against GCC 3.4.0 instead of HEAD. The changes were in avr.h and were very small to account for some extra text. There may or may not be the possibility that this patch will work for HEAD. It would be interesting to find out if it could.

Eric

Eric Weddington <arcanum>
Group administrator
Sat 24 Apr 2004 12:01:28 AM UTC, comment #7: 

I am going to leave this patch open until the binutils and gcc patches are committed.

Theodore A. Roth <troth>
Fri 23 Apr 2004 11:59:46 PM UTC, comment #6: 

The iocan128.h header was committed today, so I've committed the latest version of the patch. This is strictly HEAD branch only until we get the binutils and gcc patches into cvs too.

Theodore A. Roth <troth>
Thu 15 Apr 2004 06:38:06 PM UTC, comment #5: 

Looks like I introduced some more bugs in version 3 of the avr-libc patch.

I had crtXXX instead of crtXXX.o when adding the crt's to the list variables in configure.in.

I also found a typo that stopped the new tiny's from getting built/installed (s/HAS_tiny/HAS_attiny/).

Version 5 of the avr-libc patch fixes this problems.

Theodore A. Roth <troth>
Thu 15 Apr 2004 01:06:10 AM UTC, comment #4: 

Galen Seitz found a problem with version 3 of the avr-libc patch.

When checking for binutils/gcc support, I should not try to link the test program, only try to compile. The linking test will fail if avr-libc is not installed giving a false negative result.

Version 4 should fix this problem.

Theodore A. Roth <troth>
Wed 14 Apr 2004 07:14:46 PM UTC, comment #3: 

I've just checked in the iotn13.h header. If someone would like to review it, that would be appreciated.

Once we get the iocan128.h header into cvs, I'll commit the avr-libc patch.

Theodore A. Roth <troth>
Tue 13 Apr 2004 07:42:51 PM UTC, comment #2: 

I've updated the avr-libc patch again (version 3).

Now configure checks if avr-gcc supports the each of the new devices by trying to compile and link a program with the appropriate -mmcu option. If that succeeds, the crt file for the device will be built.

This should let us merge these patches back to the 1.0 branch without requiring the users to upgrade bintuils and gcc.

This will also allow me to commit the patches without fear of breaking the build if the users gcc/binutils don't support the new devices. As such, I'll probably be committing the avr-libc patch to cvs soon.

Theodore A. Roth <troth>
Fri 09 Apr 2004 07:42:12 PM UTC, comment #1: 

Please note that the avr-libc patch should not be committed to  cvs head until the binutils and gcc patches have been committed. The avr-libc build will fail if you try to build with unpatched binutils/gcc.

Theodore A. Roth <troth>
Thu 08 Apr 2004 05:38:20 PM UTC, original submission:  

These patches add the underlying support to binutils, gcc and avr-libc to allow support for these new AVR devices:

tiny13
tiny2313
at90can128
mega48
mega88
mega168

The headers for the mega48/88/168 are already in avr-libc cvs head. Still waiting for contributions for the other 3 headers.

Colin O'Flynn and Bob Paddock have volunteered to write the can128 and tiny2313 headers respectively.

I'll probably write the header for the tiny13 as soon as I get a chance unless someone else beats me to it.

Please use the format I used for the iomx8.h for new headers since it makes it a little bit easier to review having the register and bit defs in the same place.

Theodore A. Roth <troth>

 

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

Attached Files
file #9075:  gcc-3.4.4-avr-new-devs-3.diff added by aesok (7KiB - application/octet-stream - GCC 3.4.4 patch for new devices, with support for ATMega165.)
file #9074:  binutils-2.15-avr-new-devs-3.diff added by aesok (7KiB - application/octet-stream - binutils 2.15 patch for new devices, with tiny13 and tiny2313 fixesand and add support for ATMega165.)
file #8355:  gcc-3_4_x-avr-new-devs2.patch added by arcanum (5KiB - application/octet-stream - GCC 3.4.x patch for new devices, with tiny13 and tiny2313 fixes.)
file #7352:  gcc-3_4_0-avr-new-devs.patch added by arcanum (6KiB - text/plain - GCC patch for new devices, modified to patch against GCC 3.4.0.)
file #7283:  avr-libc-new-devs-5.diff added by troth (5KiB - text/plain - Fixes (s/crtXXX/crtXXX.o/) and (s/HAS_tiny/HAS_attiny/) mistakes.)
file #7282:  avr-libc-new-devs-4.diff added by troth (5KiB - text/plain - Changed AC_TRY_LINK to AC_TRY_COMPILE in configure.in)
file #7280:  avr-libc-new-devs-3.diff added by troth (5KiB - text/plain - Configure now checks if avr-gcc supports the new devices.)
file #7268:  avr-libc-new-devs-2.diff added by troth (4KiB - text/plain - Remove crtm83 and crtm85 from AVR_CRT_MEGA since they've been commented forever anyways.)
file #7263:  binutils-avr-new-devs.diff added by troth (5KiB - text/plain - patch for binutils (against head))
file #7262:  gcc-avr-new-devs-2.diff added by troth (5KiB - text/plain - patch for gcc (again head of cvs))
file #7261:  avr-libc-new-devs.diff added by troth (4KiB - text/plain - patch for avr-libc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 16 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-15 joerg_wunsch Open/ClosedOpen Closed
2005-07-12 aesok Attached File- Added gcc-3.4.4-avr-new-devs-3.diff, #4825
2005-07-12 aesok Attached File- Added binutils-2.15-avr-new-devs-3.diff, #4824
2005-02-01 arcanum Attached File- Added gcc-3_4_x-avr-new-devs2.patch, #4131
2005-02-01 arcanum Assigned totroth None
    Open/ClosedClosed Open
2004-11-29 troth StatusNone Done
    Open/ClosedOpen Closed
2004-04-26 arcanum Attached File- Added gcc-3_4_0-avr-new-devs.patch, #3157
2004-04-15 troth Attached File- Added avr-libc-new-devs-5.diff, #3106
2004-04-15 troth Attached File- Added avr-libc-new-devs-4.diff, #3105
2004-04-13 troth Attached File- Added avr-libc-new-devs-3.diff, #3103
2004-04-09 troth Attached File- Added avr-libc-new-devs-2.diff, #3091
2004-04-08 troth Attached File- Added binutils-avr-new-devs.diff, #3086
2004-04-08 troth Attached File- Added gcc-avr-new-devs-2.diff, #3085
2004-04-08 troth Attached File- Added avr-libc-new-devs.diff, #3084

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code