--cadcombined

This option produces a C array definition or C++ array definition containing binary output. You can use each array definition in the source code of another application. For example, you might want to embed an image in the address space of another application, such as an embedded operating system.

The output is directed to stdout by default. To save the output to a file, use the --output option together with a filename.

Show/hideRestrictions

You cannot use this option with object files.

Show/hideExample

The following commands create the file load_regions.c in the directory root\myprojects\multiload:

cd root\myprojects\multiload
fromelf --cadcombined image_multiload.axf --output load_regions.c

Show/hideSee also

Tasks

Using the Linker:

Reference
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0477E
Non-ConfidentialID071611