6.2.12. Converting images to binary files

The fromelf utility provided with RealView Compilation Tools enables you to convert your images to different formats. For example, to convert the image infile.axf to a plain binary file outfile.bin for downloading to flash, you might use the command:

fromelf -bin -o outfile.bin infile.axf

You can set up this command to run after the link stage. To do this, use the Pre_Post_Link.Post_link setting in the BUILD group. For example:

Pre_Post_Link.Post_link “fromelf -bin -o outfile.bin infile.axf”

For more information on using the fromelf utility, see the RealView Compilation Tools Linker and Utilities Guide.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0181G