aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/NIL-ARMCM0-GENERIC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/various/NIL-ARMCM0-GENERIC/Makefile')
-rw-r--r--demos/various/NIL-ARMCM0-GENERIC/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/demos/various/NIL-ARMCM0-GENERIC/Makefile b/demos/various/NIL-ARMCM0-GENERIC/Makefile
index 95e984bdc..c69d8834a 100644
--- a/demos/various/NIL-ARMCM0-GENERIC/Makefile
+++ b/demos/various/NIL-ARMCM0-GENERIC/Makefile
@@ -69,6 +69,11 @@ ifeq ($(USE_FPU),)
USE_FPU = no
endif
+# FPU-related options.
+ifeq ($(USE_FPU_OPT),)
+ USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv4-sp-d16
+endif
+
#
# Architecture or project specific options
##############################################################################
@@ -84,8 +89,8 @@ PROJECT = ch
MCU = cortex-m0
# Imported source files and paths.
-CHIBIOS = ../../..
-CONFDIR := .
+CHIBIOS := ../../..
+CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep