optionaldata - 2024.1 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2024-05-30
Version
2024.1 English

Syntax

optionaldata {<filename>, id=<id>}

Description

This allows you to specify data ID and data file. It is also possible to specify multiple instances. Data file must be a binary file with a .bin extension. The Data IDs from 0x0 to 0x20 for Optional Data are reserved for internal use. User Optional Data ID can be anything > 0x20. For more details refer IHT Optional Data.

Arguments

Filename

Optional data id

Example

new_bif:
	{
	     id_code = 0x04ca8093
	     extended_id_code = 0x01
	     id = 0x2
	 
	    optionaldata {data2.bin, id=33}
	    optionaldata {data3.bin, id=34}
	
	     image
	     {
	         name = pmc_subsys, id = 0x1c000001
	         partition {id = 0x01, type = bootloader, file = plm.elf}
	         partition {id = 0x09, type = pmcdata, load = 0xf2000000, file = pmc_data.cdo}
	     }
	}