-
Notifications
You must be signed in to change notification settings - Fork 3k
Refactor core optional parameters (FPU + DSP + Security extensions) #9480
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
Conversation
@jeromecoutant @mikisch81 @cyliangtw @mmahadevan108 |
@deepikabhavnani, thank you for your changes. |
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.
Since this is quickly becoming a lookup table of if statements, could we make this a lookup table?
f7da0a7
to
ff35021
Compare
@deepikabhavnani, draft test by some sample on M2351 device and the behavior or functionality is not modified in both of GCC_ARM and ARM 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.
I think we're headed in the correct direction. I marked a few more things for conversion into lookup tables. Let me know if you would like me to do the conversion.
…icitly Below are the options read from the toolchains/arm armclang --target=arm-arm-none-eabi -mcpu=list The following arguments to option 'mcpu' can be selected: -mcpu=cortex-m0 -mcpu=cortex-m0plus -mcpu=cortex-m1 -mcpu=cortex-m3 -mcpu=cortex-m4 -mcpu=cortex-m7 -mcpu=cortex-m23 -mcpu=cortex-m33 ... armlink --cpu=list The following arguments to option 'cpu' can be selected: --cpu=Cortex-M0 --cpu=Cortex-M0plus --cpu=Cortex-M1 --cpu=Cortex-M1.os_extension --cpu=Cortex-M1.no_os_extension --cpu=Cortex-M4 --cpu=Cortex-M4.no_fp --cpu=Cortex-M7 --cpu=Cortex-M7.fp.sp --cpu=Cortex-M7.no_fp --cpu=Cortex-M23 --cpu=Cortex-M33 --cpu=Cortex-M33.no_fp --cpu=Cortex-M33.no_dsp --cpu=Cortex-M33.no_dsp.no_fp ... armclang --target=arm-arm-none-eabi -mfpu=list The following arguments to option 'mfpu' can be selected: -mfpu=fpv4-sp-d16 -mfpu=fpv5-sp-d16 -mfpu=fpv5-d16 ...
ff35021
to
febbeff
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.
I'll make a PR to convert the FPU arguments to tables.
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.
Nice work @deepikabhavnani
Ci started |
Test run: FAILEDSummary: 1 of 12 test jobs failed Failed test jobs:
|
@deepikabhavnani Could you take a look at the greentea test failures? |
CI job restarted: |
Restarted again K66F failure, @ARMmbed/mbed-os-test we reported earlier today similar failures in another PR, related to kinetis devices |
Based on the changes, I marked this to 5.11.4. But |
@deepikabhavnani I'm confused by #9480 (comment). Should this build not have succeeded? |
@cmonr - Sorry comment on wrong PR.. Will delete it to avoid confusion |
Description
Core variant options were set differently in all toolchains and bit complex. Trying to have similar mechanism here for all toolchains and cleanup. Commit messages provide more details.
Pull request type
Reviewers
@kjbracey-arm @theotherjimmy