The build system respects -DUVISOR_PRESENT and dynamically disables floating point support

screamer 2016-04-05 21:48:32 +01:00 committed by Marcus Shawcroft
parent ef4376740b
commit 1b4d69aa8f
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,9 @@ class mbedToolchain:
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