Skip to content
Commit 6d4bce81 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis
Browse files

cmake: gcc: target_arm: Support advanced floating-point options



This commit updates the Zephyr build system to support specifying
advanced floating-point compilation options derived from the newly
introduced unified floating-point configurations.

The following changes are introduced by this commit:

1. Specify architecture floating-point option to the `-mcpu` flag.
2. Specify floating-point unit (FPU) type using the `-mfpu` flag.

Note that the `-march` flag is not specified separately because the
`-mcpu` flag provides more detailed architecture options and this
makes the `-march` flag redundant.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent 5181c617
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment