Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more
This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.
Note, you must import this library with import name: events!!!
Diff: tools/toolchains/gcc.py
- Revision:
- 6803:3ebc5419b948
- Parent:
- 6796:348ca14a66fd
- Child:
- 6804:0161ed64aa06
--- a/tools/toolchains/gcc.py Mon Jul 04 15:00:50 2016 +0100
+++ b/tools/toolchains/gcc.py Wed Jun 15 16:28:22 2016 +0200
@@ -52,6 +52,8 @@
cpu = "cortex-m4"
elif target.core == "Cortex-M7F":
cpu = "cortex-m7"
+ elif target.core == "Cortex-M7F_DP":
+ cpu = "cortex-m7"
else:
cpu = target.core.lower()
@@ -62,7 +64,12 @@
if target.core == "Cortex-M4F":
self.cpu.append("-mfpu=fpv4-sp-d16")
self.cpu.append("-mfloat-abi=softfp")
+
elif target.core == "Cortex-M7F":
+ self.cpu.append("-mfpu=fpv5-sp-d16")
+ self.cpu.append("-mfloat-abi=softfp")
+
+ elif target.core == "Cortex-M7F_DP":
self.cpu.append("-mfpu=fpv5-d16")
self.cpu.append("-mfloat-abi=softfp")