Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding arch option instead MCPU for no dsp and no fpu support #8729
Cortex-M33 has optional floating point and DSP, the mcpu option by default enables optional features. To disable optional features we need to add +nodsp +nofp.
But nofp is supported after 8.x version of toolchain. Hence to get this we will have to use -march option instead of -mcpu
Pull request type
We have few Cortex-M33 with optional floating point and DSP, the mcpu option by default enables optional features. To disable optional features we need to add +nodsp +nofp.
But in tools if we set core as cortex-M33 it is without optional features, to select particular feature we need to explicitly append
In 8449, Cortex-M33F was added and Cortex-M33 was updated.
Cortex-M33 = cortex-m33+nodsp+nofp - But
Cortex-M33F= cortex-m33+nodsp - This enables floating point for 8449.
Hope this helps.
Build number : 3622
So we shouldn't use +nofp for Cortex-M33 until GCC 8 is released for M class processors and if it's released and its features used by mbed build, the corresponding compiler version should be enforced by the build system.
Build number : 3230
referenced this pull request
Nov 15, 2018
Note: This PR is now a part of a rollup PR (#8753).
In order to expedite remaining CI testing, this PR has been bundled into the above rollup PR.
No further work is needed here, as once that PR is merged, this PR will also be closed and marked as merged.
If any more commits are made in this PR, this PR will remain open and have to go through CI on its own.