Re: [avr-gcc-list] How build the cross compiler

2008-07-09 Thread Thomas Buchta
Hi! Follow the link http://www.avrfreaks.net/index.php?name=PNphpBB2file=viewtopict=42631start=allpostdays=0postorder=asc and you'll find a script to build the AVR-GCC toolchain on Ubuntu which should support the atmega2561 device! Regards, Thomas - Original Message - From: Marcos

Re: [avr-gcc-list] float type

2007-04-03 Thread Thomas Buchta
Hi Andi! Maybe you haven't link the mathematical library! In order to access the mathematical functions that are declared in math.h, the linker needs to be told to also link the library, libm.a. Typically, system libraries like libm.a are given to the final C compiler command line that

[avr-gcc-list] Problems linking .data/.bss to external memory

2005-12-20 Thread Dipl. Ing. Thomas Buchta
Hi! I have a inscrutable problem with avr-gcc linker and an atmega128 device with 32k external RAM. Using avr-toolchain binutils-2.16.1 gcc-3.4.4 avr-libc-1.4.0 (patch for gcc an binutils from http://www.kieltech.de/~ufechner/patch-2005-05.zip) within an linux environment causes a

Re: [avr-gcc-list] calling function pointers via pointers ?

2005-09-28 Thread Thomas Buchta
On Wed, 28 Sep 2005 14:29:02 +0200, Lars Noschinski [EMAIL PROTECTED] wrote: Hi Lars! In many of my applications I use a called function pointer within an array in program memory like such example code: typedef INT8S (*PF_KEYFUNCTION) (MAIN_SYSTEM_STATE_T *ptrSystemState); PF_KEYFUNCTION