Re: [avr-gcc-list] Help Needed (UART / USART)

2007-03-30 Thread kitts
On Saturday 31 Mar 2007 at 3:17:02 am, mickhail mcanuff wrote: > uint8_t USART_vReceiveByte() > > { > > > while((UCSRA&(1< > if (UCSRA & (1< run return -1; > > > return UDR;// Return received data > > } You are returning a negative value while using an unsigned data type. It seems to me that you

Re: [avr-gcc-list] avoiding custom linker scripts by passing CLI arguments

2007-03-30 Thread kitts
On Thursday 29 Mar 2007 at 10:44:19 pm, Eric Weddington wrote: > > Although i know this list is for the AVR, my interest in this > > information is > > generic of the GCC toolchain. My immediate requirement of > > this kind is for > > the coldfire port. > > If you want generic GCC toolchain informa

RE: [avr-gcc-list] Option to remove unused trampoline space gives bad link

2007-03-30 Thread Stu Bell
Hi all, Just a quick update -- I've spent over a day now trying to chase it down. The generated code looks fine, but it doesn't work. My error seems to be occurring in the task switching code in FreeRTOS. None of the code is currently over the 128K Flash page boundary, so I'm still in a 16-bit

Re: [avr-gcc-list] Option to remove unused trampoline space gives bad link

2007-03-30 Thread Francesco Sacchi
Eric Weddington ha scritto: Hi Stu, Can you fill out a bug report?: Select the "binutils" product, and under the "target triplet" item put "avr". Let me know what the bug # is so I can help to track it. This option is very interesting, can free a