On Thu, 26 May 2011, James Grahame wrote:

> Hi,
>
> We're attempting to migrate a project from AVR Studio to AVRA to allow Linux 
> and Mac users to build our code in their own OS environment.
>
> Our target chip is the ATmega32, and we removed dependencies on the 
> m32def.inc file by placing the defines inline (see a list of defines at the 
> bottom of this message).
>
> The problem comes when we try to assemble our source file -- we're getting 
> errors indicating that AVRA can't find variables in our code. The code 
> assembles without errors or warnings in AVR Studio. Does anyone have any 
> insight?
>
> |Pass 1...
> Pass 2...
> meeblip.asm(2043) : Error   : Found no label/variable/constant named 
> SHIFTREG_1
> meeblip.asm(2100) : Error   : Found no label/variable/constant named 
> DETUNEB_INTG
> meeblip.asm(2100) : Error   : SRAM out of range (0<= k<= 65535)

Are you including ".device ATmega32" in your code?

I think I've seen some bugs related to forgetting of variables between
pass 1 and 2 fixed in the code.

Is there an option to try the latest development code from git?

git clone git://avra.sourceforge.net/gitroot/avra/avra/
cd avra/src
make -f makefiles/<one of the makefiles>

//Marcin

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Avra-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avra-user

Reply via email to