Update condition to disable FPU when uVisor is supported

After the commit:

* mbedmicro/mbed@47025b8 "uVisor: Define UVISOR_PRESENT based on target labels"

the FPU must be disabled when uVisor is enabled based on different
conditions, that is, based on the feature 'UVISOR' being enabled, and
the label 'UVISOR_SUPPORTED' being set.
Alessandro Angelino 2016-06-13 16:20:22 +01:00
parent cd5c9564fd
commit 0d0b5d6fa7
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class mbedToolchain:
self.mp_pool = None
if 'UVISOR_PRESENT=1' in self.macros:
if 'UVISOR' in self.target.features and 'UVISOR_SUPPORTED' in self.target.extra_labels:
self.target.core = re.sub(r"F$", '', self.target.core)
def get_output(self):