SLAU131V October 2004 – February 2020
The --array option causes the output to be generated in C array format. In this format, data contained in initialized sections of an executable file are defined as C arrays. Output arrays may be compiled along with a host program and used to initialize the target at runtime.
Arrays are formed by collecting the initialized sections from the input executable. There are two ways arrays are formed:
The default name for the array generated for test.out is test_image_0. The --array:name_prefix option can be used to override the default prefix for array names. For example, use --array:name_prefix=myarray to cause the name for the array to be myarray_0.
The data type for array elements is uint8_t..