5.7.1. Configuring the Makefile

Before using the test program, you must configure the provided Makefile to reflect your choice of ARM processor. For example, if you are using an ARM7TDMI, you must make sure that the following line appears at the start of the Makefile:

ASDEF1 = -PD 'PROC SETS "ARM7TDMI"' -PD 'ARCH SETS "ARMv4T"'

You can do this by uncommenting the appropriate ASDEF1 definition from the four that appear as comments at the start of the Makefile.

You must also modify the Makefile if your simulation environment requires a different form of object file.

If you are using SDT 2.50, then you must adjust the rule in the Makefile for bin/example1.bin. You can do this by uncommenting the appropriate rule from the two that appear towards the end of the Makefile. You must also comment out the default ADS rule.

Copyright © 2000, 2001 ARM Limited. All rights reserved.ARM DDI 0158D
Non-Confidential