[En-Nut-Discussion] [r5290] Added FPU support for Cortex M3/M4

Michael Fischer fischermi at t-online.de
Sat Sep 14 20:25:13 CEST 2013


Hello List,

I have now added FPU support for Cortex M3/M4 which could be
enabled by the configurator. In case "HW_MCU_FPU" is set from
the "Target CPU" a new option:

Architecture / CM3 / FPU support (COrtexM3/M4)

is available. Here the FPU can be enabled/disabled.
Disabled is default. If the FPU is enabled a new define:

MCU_USE_CORTEX_FPU

is available in "cfg/arch.h". This define will be used in
the corrected "context.c".

Btw, the compile option:

-mfloat-abi=hard -mfpu=fpv4-sp-d16

will only be set if the FPU is enabled.

Best regards,
Michael


More information about the En-Nut-Discussion mailing list