Hello everybody!
I once compiled succesfully Amforth 4.5 and have been used it for a until last
week. My MCU changed from ATMega 328 to ATMega128.
Now I need to build Amforth for that and I can't get it done. I've copied from
program files/Atmel/AVR Tools/avrAssembler/Appnotes to amforth's root as
Atmel/Appnotes2 copied template to
my_project_amforth and chaged MCU and assembler from makefile. From
template.asm I've changed the clockspeed to right.
I'm getting this out of make:
$ make
avra -I ../../Atmel/Appnotes2 -I ../../core -I ../../core/devices/atmega128
--listmac -l template.lst -m template.map template.asm
AVRA: advanced AVR macro assembler Version 1.3.0 Build 1 (8 May 2010)
Copyright (C) 1998-2010. Check out README file for more info
AVRA is an open source assembler for Atmel AVR microcontroller family
It can be used as a replacement of 'AVRASM32.EXE' the original assembler
shipped with AVR Studio. We do not guarantee full compatibility for avra.
AVRA comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of avra under the terms
of the GNU General Public License.
For more information about these matters, see the files named COPYING.
Pass 1...
../../core/devices/atmega128/device.asm(52) : Error : Unknown directive:
.OVERLAP
../../core/devices/atmega128/device.asm(122) : Error : Unknown directive:
.NOOVERLAP
template.asm(34) : Error : Found no label/variable/constant named bm_ASYNC
template.asm(38) : Error : Found no label/variable/constant named bm_ENABLE_TX
../../core/words/cold.asm(12) : Error : [Macro: ../../core/macros.asm: 51:]
Found no label/variable/constant named MCUSR
../../core/words/cold.asm(16) : Error : [Macro: ../../core/macros.asm: 59:]
Found no label/variable/constant named MCUSR
../../core/amforth.asm(18) : Error : Found no label/variable/constant named
NRWW_START_ADDR
../../core/amforth-eeprom.inc(56) : Error : .BYTE directive can only be used
in data segment (.DSEG)
Error: Overlapping Code-segments :
Start = 0x0004, End = 0x0004, Length = 0x0001
Start = 0x0004, End = 0x03C6, Length = 0x03C3
Please check your .ORG directives !
Error: Overlapping Code-segments :
Start = 0x0006, End = 0x0006, Length = 0x0001
Start = 0x0004, End = 0x03C6, Length = 0x03C3
Please check your .ORG directives !
Error: Overlapping Code-segments :
Start = 0x0008, End = 0x0008, Length = 0x0001
Start = 0x0004, End = 0x03C6, Length = 0x03C3
Please check your .ORG directives !
Error: Overlapping Code-segments :
Start = 0x000A, End = 0x000A, Length = 0x0001
Start = 0x0004, End = 0x03C6, Length = 0x03C3
Please check your .ORG directives !
<<SNIP>>
make: *** [template.hex] Error 1
Now. What did I do wrong? Except been using Linux as desktop,,, I've tried to
read amforth.pdf and follow those instructions but please someone point out my
mistake.
Best Regards,
Hannu Vuolasaho
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel