3.7 --cadcombined

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.


You cannot use this option with object files.


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
Non-ConfidentialPDF file icon PDF versionDUI0805J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.