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 with support for newer processors? [RSS Feed]

#1 Nov. 24, 2005 21:27:53

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

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


Hello All,

I am using ATmega329 but WinAVR-20050214 doesn't suppport it.

My requirements are very modest, I've rewritten my code so that I only need
support for the ATmega329 memory map:

FLASH 0x0000 - 0x3FFF
SRAM 0x0100 - 0x08FF
EEPROM 0x0000 - 0x03FF (This is now unimportant)

I set -mmcu=atmega32 and substituted iom329.h instead of iom32.h but the
SRAM began at 0x0060 instead of 0x0100, so it was no good. Niether
was -mmcu=atmega323. In fact no supported micro matched the SRAM
requirements.

I am therefore resigned to performing a build of avr-gcc and have at least 3
options:

1. I have a Slackware 10.1 linux box available and can use instructions &
patches athttp://www.kieltech.de/uweswiki/2. I have downloaded FreeBSD 6 and can use Joerg Wunsch's work at:http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-binutils/files/3. I can be really masochistic and try a windows build using instructions
at:http://kk.elektronik-4u.de/index.php?Sid=12I cannot find any Windows build instructions on the WinAVR home page or
WinAVR project page so must assume Eric Weddington wants to keep this a
secret. Perhaps a Windows build is such a pig, that this is a deliberate
ploy so that he isn't besieged with questions day-&-night :)

Which option do people recommend ?


Nigel Winterbottom




_______________________________________________
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 with support for newer processors? [RSS Feed]

Board footer

Moderator control

Enjoy the 23rd of April
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