aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-03 12:45:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-03 12:45:06 +0000
commit32257914a5bdfd3b26ca91cf3a8e7e65e186c193 (patch)
treefaf785214f32c009761d81276cd4ac78973b4b34 /os
parentdacad21aed10f7d619a3e09dc112a5c6ede2e778 (diff)
downloadChibiOS-32257914a5bdfd3b26ca91cf3a8e7e65e186c193.tar.gz
ChibiOS-32257914a5bdfd3b26ca91cf3a8e7e65e186c193.tar.bz2
ChibiOS-32257914a5bdfd3b26ca91cf3a8e7e65e186c193.zip
Hard FP support added to CM4 Makefiles. Improved F4 IRQ_STORM demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6664 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/rules.mk b/os/common/ports/ARMCMx/compilers/GCC/rules.mk
index 06299400c..a9228e393 100644
--- a/os/common/ports/ARMCMx/compilers/GCC/rules.mk
+++ b/os/common/ports/ARMCMx/compilers/GCC/rules.mk
@@ -23,8 +23,8 @@ ifeq ($(USE_LTO),yes)
endif
# FPU-related options
-ifeq ($(USE_FPU),yes)
- USE_OPT += -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -fsingle-precision-constant
+ifneq ($(USE_FPU),no)
+ OPT += -mfloat-abi=$(USE_FPU) -mfpu=fpv4-sp-d16 -fsingle-precision-constant
DDEFS += -DCORTEX_USE_FPU=TRUE
DADEFS += -DCORTEX_USE_FPU=TRUE
else