aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/NIL-ARMCM4-GENERIC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-10-22 12:07:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-10-22 12:07:22 +0000
commit59e3813152ee473431cc002fcf207abf96916661 (patch)
tree7d48679caa22017eb824e37676f5e69618447e19 /demos/various/NIL-ARMCM4-GENERIC
parentbb5e0367ab1bfad9e054cdb803576c4fcab7f21a (diff)
downloadChibiOS-59e3813152ee473431cc002fcf207abf96916661.tar.gz
ChibiOS-59e3813152ee473431cc002fcf207abf96916661.tar.bz2
ChibiOS-59e3813152ee473431cc002fcf207abf96916661.zip
More demos updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12387 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/various/NIL-ARMCM4-GENERIC')
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/Makefile9
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h (renamed from demos/various/NIL-ARMCM4-GENERIC/chconf.h)0
2 files changed, 7 insertions, 2 deletions
diff --git a/demos/various/NIL-ARMCM4-GENERIC/Makefile b/demos/various/NIL-ARMCM4-GENERIC/Makefile
index 9f3052ebb..e76f12206 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/Makefile
+++ b/demos/various/NIL-ARMCM4-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-m4
# Imported source files and paths.
-CHIBIOS = ../../..
-CONFDIR := .
+CHIBIOS := ../../..
+CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep
diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h
index c6507a891..c6507a891 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h