From: Erich W. <ew....@na...> - 2010-08-07 18:35:34
|
Hi folks, using the files in amforth/releases/4.0/appl/template to build a project, the following can be observed atmega32: after editing F_CPU and BAUD settings in template.asm and after editing MCU in makefile the project builds, the resulting hex files can be uploaded to a controller, and creating new words like : one 1 ; works correctly. However, MCU=atmega8 results in an assembly error: make MCU=atmega8 wine ~/wine/AvrAssembler2/avrasm2.exe -I ~/wine/AvrAssembler2/Appnotes2 \ -I ../../amforth/releases/4.0/core -I ../../amforth/releases/4.0/core/devices/atmega8 \ -fI -v0 -e template.eep.hex -l template.lst template.asm ../../amforth/releases/4.0/core/devices/atmega8\device.asm(13): error: Overlap in .cseg: addr=0xb conflicts with 0xb:0xc Assembly failed, 1 errors, 0 warnings make: *** [template.hex] Error 1 A quick look in template.lst did not reveal anything obvious. Ideas? Erich |