mirror of https://github.com/ARMmbed/mbed-os.git
[STM32F7] add FPU option for assembly compiling (needed for rtos library)
parent
dbb99d4eee
commit
e5c1d37c25
|
@ -60,6 +60,9 @@ class IAR(mbedToolchain):
|
||||||
|
|
||||||
IAR_BIN = join(IAR_PATH, "bin")
|
IAR_BIN = join(IAR_PATH, "bin")
|
||||||
main_cc = join(IAR_BIN, "iccarm")
|
main_cc = join(IAR_BIN, "iccarm")
|
||||||
|
if target.core == "Cortex-M7F":
|
||||||
|
self.asm = [join(IAR_BIN, "iasmarm")] + ["--cpu", cpuchoice] + ["--fpu", "VFPv5_sp"]
|
||||||
|
else:
|
||||||
self.asm = [join(IAR_BIN, "iasmarm")] + ["--cpu", cpuchoice]
|
self.asm = [join(IAR_BIN, "iasmarm")] + ["--cpu", cpuchoice]
|
||||||
if not "analyze" in self.options:
|
if not "analyze" in self.options:
|
||||||
self.cc = [main_cc] + c_flags
|
self.cc = [main_cc] + c_flags
|
||||||
|
|
Loading…
Reference in New Issue