Merge pull request #3060 from theotherjimmy/sw4stm32-fix

[exporters] Fix traceback in SW4STM32 from incorrect use of core
pull/3076/head
Martin Kojtal 2016-10-19 13:10:54 +01:00 committed by GitHub
commit 1339f0dede
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Sw4STM32(Exporter):
def generate(self):
fp_hardware = "no"
fp_abi = "soft"
core = self.target.core
core = self.toolchain.target.core
if core == "Cortex-M4F" or core == "Cortex-M7F":
fp_hardware = "fpv4-sp-d16"
fp_abi = "soft-fp"