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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to