Clone of official tools

Revision:
35:da9c89f8be7d
Parent:
31:8ea194f6145b
Child:
36:96847d42f010
--- a/export/uvision/uvision.tmpl	Mon Feb 13 09:29:13 2017 -0600
+++ b/export/uvision/uvision.tmpl	Wed Feb 15 13:53:18 2017 -0600
@@ -16,7 +16,7 @@
           <Vendor>{{device.dvendor}}</Vendor>
           <PackID>{{device.pack_id}}</PackID>
           <PackURL>{{device.pack_url}}</PackURL>
-          <Cpu></Cpu>
+          <Cpu>CPUTYPE("{{cputype}}")</Cpu>
           <FlashUtilSpec></FlashUtilSpec>
           <StartupFile></StartupFile>
           <FlashDriverDll>{{device.flash_dll}}</FlashDriverDll>
@@ -351,7 +351,7 @@
           </ArmAdsMisc>
           <Cads>
             <interw>0</interw>
-            <Optim>2</Optim>
+            <Optim>1</Optim>
             <oTime>0</oTime>
             <SplitLS>0</SplitLS>
             <OneElfS>0</OneElfS>
@@ -417,7 +417,7 @@
         </TargetArmAds>
       </TargetOption>
       <Groups>
-        {% for group, files in project_files.iteritems() %}
+        {% for group, files in project_files %}
         <Group>
             <GroupName>{{group}}</GroupName>
             <Files>