Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] What is the recommended route to build avr-gcc withsupport for newer processors? [RSS Feed]

#1 Nov. 25, 2005 21:58:50

Nigel W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] What is the recommended route to build avr-gcc withsupport for newer processors?


Hi Bjoern,

Thanks for the personal reply, the list is partially broken at the moment so
I'm CCing all responders to my thread

> Maybe you try the atmega169? Anyway, ld does do no checking
> at all for the size of the excecutable so you will not get
> any error message if you exceed the 16k boundary, IIRC. Also
> I think that the header files should be the same for 169 and
> 329 (did not check that so far, however).

I've outgrown atmega169 so have upgraded to atmega329. I'll try
using -mmcu=atmega169 and adding back the mode modules I've stripped out,
this will exceed 16K bytes o will test your theory.

Exceeding SRAM of course, is not allowed because I would then mangle the
stack.

The header file is, in essence, very similar with only the PCIE/PCIF bits in
EIMSK/EIFR different. I did a diff but the files have a totally different
layout so almost all lines have changes.

Nigel Winterbottom



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Nov. 26, 2005 07:03:46

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] What is the recommended route to build avr-gcc withsupport for newer processors?


"Nigel Winterbottom" <> wrote:

> Exceeding SRAM of course, is not allowed because I would then mangle
> the stack.

Remember, you can set the stack using the symbol __stack on the
(linker) command-line. That will override the automatic compiler
setting (which is obtained from the crt*.o file).

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] What is the recommended route to build avr-gcc withsupport for newer processors? [RSS Feed]

Board footer

Moderator control

Enjoy the 22nd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support