mirror of https://github.com/ARMmbed/mbed-os.git
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.
parent
cd5c9564fd
commit
0d0b5d6fa7
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue