-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add core option for Cortex-M33 with DSP enabled #8995
Conversation
@gaborkertesz @jeromecoutant @ccli8 - Please see, if changes impact your ARMv8M devices. |
tools/toolchains/arm.py
Outdated
@@ -418,20 +423,27 @@ def __init__(self, target, *args, **kwargs): | |||
self.flags['common'].append("-march=armv8-m.base") | |||
elif target.core.startswith("Cortex-M33F"): | |||
self.flags['common'].append("-mfpu=fpv5-sp-d16") | |||
self.flags['common'].append("-mfloat-abi=softfp") | |||
self.flags['common'].append("-mfloat-abi=hard") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure of hard
floating point. @TacoGrandeTX @theotherjimmy - Do you have any suggestions for floating option in ARMv8M? I see we have always selected soft
floating point for v6 / v7 architecture.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have selected softfp
@mmahadevan108 - Please add similar changes for GCC toolchain as well |
This PR has changes to gcc.py for the GCC toolchain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
softfp
is used for all other floating point code in else.
Signed-off-by: Deepika Bhavnani <Deepika.Bhavnani@arm.com> Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
fac7628
to
f05e7b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me 👍
@ARMmbed/mbed-os-maintainers - PR should be tested locally by other ARMv8M targets before merge.
@gaborkertesz @LMESTM @jeromecoutant @ccli8 - Please let us know if this PR breaks anything.
@deepikabhavnani This PR is OK for M2351 Greentea test. |
CI started |
CI job stopped: Prioritizing RC3 PRs. Will restart when able. |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
CI restarted: |
Description
This is the update for Issue #8992
Pull request type