patchAVR C Runtime Library - Patches: patch #4697, Add support for ATtiny24, Attiny44...

 
 

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

patch #4697: Add support for ATtiny24, Attiny44 and Attiny84

Submitter:  Anatoly Sokolov <aesok>
Submitted:  Sun 11 Dec 2005 08:58:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Mon 22 May 2006 05:22:54 PM UTC, comment #3: 

Support for ATtiny24-44-84 devices is added in GCC 4.2.
Support for ATtiny24-44-84 devices is added in binutils 2.17.
Support for ATtiny24-44-84 devices is added in avr-libc 1.4.1.

Anatoly Sokolov <aesok>
Group administrator
Mon 02 Jan 2006 12:40:26 PM UTC, comment #2: 

Only the comment in Joerg path mention about MOVW instruction in new ATtiny devices. Gcc now do not use MOVW instruction for these devices. Need add new arhitecture ('avr25') in gcc toolchain to get optimization for these devices.


There is other mistake in this path:

+%{mmcu=attiny24:crttn24.o%s} \
+%{mmcu=attiny44:crttn44.o%s} \
+%{mmcu=attiny85:crttn84.o%s} \

Last line should be:
+%{mmcu=attiny84:crttn84.o%s} \

Anatoly Sokolov <aesok>
Group administrator
Wed 28 Dec 2005 11:46:05 PM UTC, comment #1: 

The GCC patch here is not completely correct. The tinyx4 devices should be in the "Classic + MOVW, <= 8K." group. If you take a look at the datasheet, these devices include the MOVW opcode.

Also take a look at Joerg's all inclusive patch here:
<http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/>

Eric Weddington <arcanum>
Group administrator
Sun 11 Dec 2005 08:58:00 PM UTC, original submission:  


Anatoly Sokolov <aesok>
Group administrator

 

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

Attached Files
file #4122:  gcc-3.4.4-attinyx4-devs.diff added by aesok (3KiB - application/octet-stream)
file #4522:  binutils-2.16-attinyx4-devs.diff added by aesok (724B - application/octet-stream)
file #4143:  iotn24.h added by aesok (2KiB - text/plain)
file #4142:  iotn44.h added by aesok (2KiB - text/plain)
file #4141:  iotn84.h added by aesok (2KiB - text/plain)
file #4140:  iotnx4.h added by aesok (9KiB - text/plain)

 

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

Date Changed by Updated Field Previous Value => Replaced by
2006-05-22 aesok StatusNone Done
    Open/ClosedOpen Closed
2005-12-15 aesok Attached File- Added gcc-3.4.4-attinyx4-devs.diff, #5612
2005-12-13 aesok Attached File- Added binutils-2.16-attinyx4-devs.diff, #5591
2005-12-11 aesok Attached File- Added iotn24.h, #5583
2005-12-11 aesok Attached File- Added iotn44.h, #5582
2005-12-11 aesok Attached File- Added iotn84.h, #5581
2005-12-11 aesok Attached File- Added iotnx4.h, #5580

Back to the top

Powered by Savane 3.15-4cd8.
Corresponding source code