Closed avrs-admin closed 2 years ago
Theodore A. Roth
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
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
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
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
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
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
I am going to leave this patch open until the binutils and gcc patches are committed.
Eric Weddington
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
Theodore A. Roth
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.
Eric Weddington
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.
Anatoly Sokolov
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.
Thu 08 Apr 2004 07:38:20 PM CEST
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.
file #7261: avr-libc-new-devs.diff file #7262: gcc-avr-new-devs-2.diff file #7263: binutils-avr-new-devs.diff file #7268: avr-libc-new-devs-2.diff file #7280: avr-libc-new-devs-3.diff file #7282: avr-libc-new-devs-4.diff file #7283: avr-libc-new-devs-5.diff file #7352: gcc-3_4_0-avr-new-devs.patch file #8355: gcc-3_4_x-avr-new-devs2.patch file #9074: binutils-2.15-avr-new-devs-3.diff file #9075: gcc-3.4.4-avr-new-devs-3.diff
This issue was migrated from https://savannah.nongnu.org/patch/?2923