Compiling on Linux, newbie question

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys,

I'm compiling an AVR32 project on a Linux platform. I have downloaded and unpacked the 3.2.3.261 toolchain. Do I also need the 2.9.0 framework or AVR32studio?

With the toolchain alone the compiler says
Compile ../src/AD5301.c
In file included from ../src/I2C.h:14,
from ../src/AD5301.h:11,
from ../src/AD5301.c:10:
../src/SOFTWARE_FRAMEWORK/BOARDS/board.h:55:22: warning: avr32/io.h: No such file or directory

The same makefile (with a corrected path to the toolchain /bin directory) works under Cygwin on a Windows computer where I have AVR32studio 2.7 installed.

At the moment, the .elf file produced on my Windows system is not the same as the one my friend compiles under Linux. In fact it is quite a bit larger and seems to not run as well. So to get to the bottom of this I at least want a working Linux setup.

Thanks,
Borge

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you install the Atmel AVR Toolchain 3.2.3 - Header Files?

-sb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sambrown wrote:
Did you install the Atmel AVR Toolchain 3.2.3 - Header Files?
-sb

Not explicitly, no.

I ended up installing AVR32studio 2.7. I'm putting my experiences in a new post.

Børge