-
Notifications
You must be signed in to change notification settings - Fork 278
Utility script to create xitem file from board.xml
saikrishnamaddali edited this page Apr 4, 2018
·
24 revisions
The utility script generate_xitem_json.py is used to create xitem.json file from board.xml file.The script extracts the mandatory fields from board.xml and creates a corresponding xitem.json file.
The following fields are inferred from the board.xml file in to xitem.json .
<board schema_version="2.0" vendor="em.avnet.com" name="minized" display_name="MiniZed" url="http://www.minized.org" preset_file="preset.xml" >
- name :: 'name' of xitem
- display_name :: 'display' of xitem
- vendor :: 'company' of xitem
- url :: 'website'
python main.py -help (To get the details of arguements for script)
Python Version Supported: >=2.7.x Board Schema File Supported: 2.0 Xitem.json Schema version : 1.1