Example 1: Intel Hex
/* General section. Notice that the template is applied throughout the file, from
the beginning (Offset=0) until the end (Repeats=Yes) without any blanks (RepeatSkip=0).
*/
[General]
Name=IntelHex
Description=Interpret and edit Intel Hex EEPROM files.
Author=Fotis Fotopoulos
Version=1.0
Target=file
ReadOnly=
Offset=0
Repeats=Yes
RepeatSkip=0
Validate=Yes
Vertical=Yes
/* Here is the structure declaration. 7 fields (or members) are included in the structure.
Notice the 5th field is dynamic and its length depends on field2. More on dynamic fields
are given here. */
[Section1]
Fields=7
Field1=5,Stamp,char,,:
Field2=5,Length,hex
Field3=5,Address,hex,2
Field4=5,Type,hex
Field5=60,Data,hex,field2 // Dynamic field
Field6=8,Checksum,hex
Field7=5,LF,char,2,0x0D0A
Back.