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)
meeblip.asm(2476) : Error   : Found no label/variable/constant named DETUNEB_INTG
meeblip.asm(2747) : Error   : Found no label/variable/constant named DETUNEB_INTG
meeblip.asm(2904) : Error   : Found no label/variable/constant named LFO_FRAC_H
meeblip.asm(3030) : Error   : Found no label/variable/constant named LFO2_FRAC_H
meeblip.asm(3303) : Error   : Found no label/variable/constant named MIDIPBEND_H
meeblip.asm(3373) : Error   : Found no label/variable/constant named DETUNEB_INTG
meeblip.asm(3496) : Error   : Found no label/variable/constant named SHIFTREG_1
meeblip.asm(3496) : Maximum error count reached. Exiting...

The chip defines that we're using:
;;; atmega32 defines

.equ iosize = $40
.equ ramsize = $800
.equ flashsize = $4000
.equ eepromsize = $400
.equ pagesize = $40

;;; memory boundaries

.set regsize = $20
.set regstart = $0
.set regend = $1f
.set iostart = $20
.set ioend = iostart + iosize - 1
.set ramstart = ioend + 1
.set ramend = ioend + ramsize
.set flashstart = $0
.set flashend = flashsize - 1
.set pagemask =  ~ ( pagesize - 1 )

-- 
James Grahame