ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.68k stars 2.98k forks source link

Cortex M4 and FPU #110

Closed 0xc0170 closed 10 years ago

0xc0170 commented 11 years ago

I found out yesterday that Cortex M4 core enables FPU by default.

An example for ARM toolchain

        if   target.core == "Cortex-M0+":
            cpu = "Cortex-M0"
        elif target.core == "Cortex-M4":
            cpu = "Cortex-M4.fp"
        else:
            cpu = target.core

I propose to create two cores Cortex-M4 and Cortex-M4F. All current targets for M4 will become M4F, and the new one coming K20D5 will be just M4. I'll create a branch for this with a fix.

Regards, 0xc0170

errordeveloper commented 11 years ago

:+1: