[avr-gcc-list] Setting up AVR tool chain on Solaris

2014-10-08 Thread Andreas Höschler
Hi all, I am following http://www.ladyada.net/learn/avr/setup-unix.html to setup the AVR tool chain on a Solaris 10 box (Intel). So far I did We download http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz: cd /usr/src mkdir avr cd avr scp ahoesch@192.

Re: [avr-gcc-list] Setting up AVR tool chain on Solaris

2014-10-08 Thread Matthijs Kooijman
Hi Andreas, > to setup the AVR tool chain on a Solaris 10 box (Intel). So far I did Nice :-) Perhaps the scripts and patches in here might be of use? https://github.com/arduino/toolchain-avr/tree/master This is the repository that is used to build the official IDE toolchain (since 1.5.

Re: [avr-gcc-list] Setting up AVR tool chain on Solaris

2014-10-08 Thread Andreas Höschler
Hi all, I made some progress. I got avr-gcc (v 4.3.3) to build on Solaris. I now get stuck at configuring avr-libc! :-( * We download http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz: cd /usr/src mkd

Re: [avr-gcc-list] Setting up AVR tool chain on Solaris

2014-10-08 Thread Andreas Höschler
Hi all, I got it to work. Here is my chain of commands to get avr-gcc and avrdude running on Solaris 10! Best wishes, Andreas We download http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz: PREFIX=/usr/local/avr export PREFIX PATH=$PATH:$PREFIX/bin export P

[avr-gcc-list] Building code

2014-10-08 Thread Andreas Höschler
Hi all, I have just got my avr tool chain running on Solaris, established communication of avrdude with the USB programmer and am now trying to recompile my first program (one that I wrote years ago on another machine). It goes like so: main.c == #define F_CPU 1600UL /* 16 MHz CPU clo

Re: [avr-gcc-list] Building code

2014-10-08 Thread Senthil Kumar Selvaraj
On Thu, Oct 09, 2014 at 12:54:48AM +0200, Andreas Höschler wrote: > Hi all, > > I have just got my avr tool chain running on Solaris, established > communication of avrdude with the USB programmer and am now trying to > recompile my first program (one that I wrote years ago on another machine).

[avr-gcc-list] Allocating code to separate sections

2014-10-08 Thread Alistair Gadd
Hi Everybody, I'm hoping this is an easy one for someone out there. I'm putting together a bootloader for an ATmega328P using Atmel Studio 6.2 and I would just like to ask if there is an easy way configure the IDE so that I can have separate sections that I can allocate code to. I have been u

Re: [avr-gcc-list] Allocating code to separate sections

2014-10-08 Thread Senthil Kumar Selvaraj
On Thu, Oct 09, 2014 at 07:32:51AM +0200, Alistair Gadd wrote: > Hi Everybody, > > I'm hoping this is an easy one for someone out there. > > I'm putting together a bootloader for an ATmega328P using Atmel Studio 6.2 > and I would just like to ask if there is an easy way configure the IDE so > tha

Re: [avr-gcc-list] Allocating code to separate sections

2014-10-08 Thread Alistair Gadd
On 2014/10/09 08:29 AM, Senthil Kumar Selvaraj wrote: On Thu, Oct 09, 2014 at 07:32:51AM +0200, Alistair Gadd wrote: Hi Everybody, I'm hoping this is an easy one for someone out there. I'm putting together a bootloader for an ATmega328P using Atmel Studio 6.2 and I would just like to ask if t