From: Matthias T. <mt...@we...> - 2011-02-18 06:49:15
|
Hi, > The makefile says that the MCU is also to be specified in template.asm, > but there appears to be no example line. The definitions moved over time from one file to another, the remark in the template/makefile is simply an artifact, please ignore it. Whats relevant is the line INCLUDE=-I $(AMFORTH) -I $(AMFORTH)/devices/$(MCU) which uses the Makefile variable MCU. Some earlier versions used the the line .include "devices/atmega16.asm" instead of the current .include "device.asm" in template.asm. With the above INCLUDE settings, the right controller type is now used from the device/ source tree. My goal was to simplify the definitions and put the controller definitions into one file, not more. And the MCU needs to be known for at least avrdude as well, thus the Makefile is the master. (build.xml is the same story). Matthias |