[avr-libc-dev] RFC: Database for device properties.?

2006-04-21 Thread Björn Haase
Hi, I'd like to discuss the issue that presently the individual device properties for the avr family is scattered all over the different files of the toolchain. Also the avrX family concept has shown to be sub-optimal since there are, some tiny-devices that have some of the enhanced

Re: [avr-libc-dev] RFC: Database for device properties.?

2006-04-21 Thread Eric Weddington
Uwe Fechner wrote: Björn Haase wrote: In this case, however, I'd like to suggest to try to find a format that could be edited by some sort of GUI. Any suggestions would be appreciated. Bjoern I think, xml is the format of choice. I made the same suggestion some time ago in the

[avr-libc-dev] Re: Linker relaxation

2006-04-21 Thread Björn Haase
Fabrizio Tironi wrote on Freitag, 21. April 2006 17:42 : Björn Haase wrote: It would, thus, be quite helpful if you or somebody else could test the patch. We have just tried your patch. Thanks for the rapid answer :-). Here is our config: Debian stable, kernel 2.6.13, avr-gcc 4.0.2,

Re: [avr-libc-dev] RFC: Database for device properties.?

2006-04-21 Thread Björn Haase
Uwe Fechner wrote on Freitag, 21. April 2006 18:41 : Björn Haase wrote: In this case, however, I'd like to suggest to try to find a format that could be edited by some sort of GUI. Any suggestions would be appreciated. Bjoern I think, xml is the format of choice. I made the same

Re: [avr-libc-dev] Re: Linker relaxation

2006-04-21 Thread Bernd Trog
For the more recent versions of gcc you might try the -fwhole-program and -funit-at-once options. I have read reports that this is good for some percent of code size, but I have no experience with it. I think thats avr-gcc -combine -fwhole-program *.c -Os ... Does this work for you?

[avr-libc-dev] 32 bit integer arithmetics

2006-04-21 Thread Raphael Mack
Hello, avrlibc supports division of 16 bits integers. Is there a easy way to do also arithmetics for 32 bit sized integers, or do I have to implement it on my own with the shift-and-subtract algorithm? Thanks, Rapha ___ AVR-libc-dev mailing list

Re: [avr-libc-dev] 32 bit integer arithmetics

2006-04-21 Thread Ned Konz
On Apr 21, 2006, at 2:07 PM, Raphael Mack wrote: avrlibc supports division of 16 bits integers. Is there a easy way to do also arithmetics for 32 bit sized integers, or do I have to implement it on my own with the shift-and-subtract algorithm? The library supports 32-bit math too. --

Re: [avr-libc-dev] ??Upgrade from 2005 to 2006 of WinAvr breaks ISR(_vector_default)??

2006-04-21 Thread Ned Konz
On Apr 21, 2006, at 6:27 PM, Steve Franks wrote: Hi Y'all, I get the following warning: main.cpp:92: warning: `_Z16__vector_defaultv' appears to be a misspelled signal handler When I try to compile: ISR(__vector_default) { puts(\nUI); } On a Mega168. I changed SIGNAL to ISR, and