Morpheus / mbed-tools

Fork of mbed-tools by -deleted-

Revision:
12:dde046e96d4b
Parent:
10:f0b21961f610
Child:
15:8725ad2e7157
--- a/toolchains/__init__.py	Tue Apr 05 00:21:13 2016 +0100
+++ b/toolchains/__init__.py	Tue Apr 05 21:48:32 2016 +0100
@@ -216,6 +216,9 @@
         self.CHROOT = None
 
         self.mp_pool = None
+        
+        if 'UVISOR_PRESENT' in self.macros:
+            self.target.core = re.sub(r"F$", '', self.target.core)
 
     def get_output(self):
         return self.output