<?xml version="1.0" encoding="UTF-8"?>
<Config>
   <Defs>
      <Set Header="LoadArm" Desc="Arm Loader">
         <Section Header="Advanced" Desc="Advanced Options">
            <Property Header="Format" Desc="Format" Type="PT_CHOICE" Default="ELF" Comment="Selects the appropriate output format.">
               <Enum Header="ELF" Value="ELF" />
               <Enum Header="HEX" Value="HEX" />
               <Enum Header="BIN" Value="BIN" />
               <![CDATA[
                  {
                  var tool     = Project.GetPropertyValue("LoadARM", "Advanced", "Format");
                  var dbifile  = Project.GetPropertyValue("NodeApp", "Load", "DBIFile");
                  Project.WriteIniValue("Application","Format",tool, dbifile);
                  }
               ]]>
            </Property>
            <Property Header="CodeOffset" Desc="Code Offset" Type="PT_STRING" Default="0x0" Comment="Loads the code with an offset (for bootloading purposes).">
               <![CDATA[
                  {
                  var tool     = Project.GetPropertyValue("LoadARM", "Advanced", "CodeOffset");
                  var dbifile  = Project.GetPropertyValue("NodeApp", "Load", "DBIFile");
                  Project.WriteIniValue("Application","CodeOffset",tool, dbifile);
                  }
               ]]>
            </Property>
            <Property Header="DataOffset" Desc="Data Offset" Type="PT_STRING" Default="0x0" Comment="Loads the data with an offset (for bootloading purposes).">
               <![CDATA[
                  {
                  var tool     = Project.GetPropertyValue("LoadARM", "Advanced", "DataOffset");
                  var dbifile  = Project.GetPropertyValue("NodeApp", "Load", "DBIFile");
                  Project.WriteIniValue("Application","DataOffset",tool, dbifile);
                  }
               ]]>
            </Property>
         </Section>
      </Set>
   </Defs>
</Config>
