Clone of official tools

Revision:
29:1210849dba19
Parent:
24:25bff2709c20
Child:
30:f12ce67666d0
--- a/export/gccarm.py	Mon Aug 29 10:55:42 2016 +0100
+++ b/export/gccarm.py	Mon Aug 29 11:18:36 2016 +0100
@@ -58,6 +58,7 @@
         'ARCH_PRO',
         'NRF51822',
         'HRM1017',
+        'TY51822R3',
         'RBLAB_NRF51822',
         'RBLAB_BLENANO',
         'LPC2368',
@@ -98,6 +99,7 @@
         'DISCO_F334C8',
         'MAX32600MBED',
         'MAXWSNENV',
+        'MAX32620HSP',
         'MTS_MDOT_F405RG',
         'MTS_MDOT_F411RE',
         'NUCLEO_L152RE',
@@ -161,10 +163,11 @@
             'libraries': libraries,
             'symbols': self.get_symbols(),
             'cpu_flags': self.toolchain.cpu,
-            'vpath': [relpath(s, build_dir) for s in self.prj_paths] if self.sources_relative else [".."]
+            'vpath': [relpath(s, build_dir) for s in self.prj_paths] if self.sources_relative else [".."],
+            'hex_files': self.resources.hex_files
         }
 
-        for key in ['include_paths', 'library_paths', 'linker_script']:
+        for key in ['include_paths', 'library_paths', 'linker_script', 'hex_files']:
             if isinstance(ctx[key], list):
                 ctx[key] = [ctx['vpath'][0] + "/" + t for t in ctx[key]]
             else: