aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-21 14:11:07 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-21 14:11:07 +0000
commitd63045a31664f29ba638ca37c0aff4c84a0e0461 (patch)
treebdbc65500e4e68da49e40816e609b8379ef8b65c
parent4990a4e03d386a9aeb9c06a8f05d8242bff0ddc9 (diff)
downloadChibiOS-d63045a31664f29ba638ca37c0aff4c84a0e0461.tar.gz
ChibiOS-d63045a31664f29ba638ca37c0aff4c84a0e0461.tar.bz2
ChibiOS-d63045a31664f29ba638ca37c0aff4c84a0e0461.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7788 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/Makefile5
-rw-r--r--os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v6m.s8
-rw-r--r--os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v7m.s8
3 files changed, 8 insertions, 13 deletions
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/Makefile b/demos/STM32/NIL-STM32F100-DISCOVERY/Makefile
index 3348e562a..d667fa118 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/Makefile
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/Makefile
@@ -63,11 +63,6 @@ ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
USE_EXCEPTIONS_STACKSIZE = 0x400
endif
-# Enables the use of FPU on Cortex-M4.
-ifeq ($(USE_FPU),)
- USE_FPU = no
-endif
-
#
# Architecture or project specific options
##############################################################################
diff --git a/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v6m.s b/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v6m.s
index a80a6ee71..68862f96e 100644
--- a/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v6m.s
+++ b/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v6m.s
@@ -25,10 +25,6 @@
* @{
*/
-#define _FROM_ASM_
-#include "nilconf.h"
-#include "nilcore.h"
-
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
@@ -37,6 +33,10 @@
#define TRUE 1
#endif
+#define _FROM_ASM_
+#include "nilconf.h"
+#include "nilcore.h"
+
#if !defined(__DOXYGEN__)
.set CONTEXT_OFFSET, 0
diff --git a/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v7m.s b/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v7m.s
index 130ee791c..298110f09 100644
--- a/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v7m.s
+++ b/os/nil/ports/ARMCMx/compilers/GCC/nilcoreasm_v7m.s
@@ -25,10 +25,6 @@
* @{
*/
-#define _FROM_ASM_
-#include "nilconf.h"
-#include "nilcore.h"
-
#if !defined(FALSE) || defined(__DOXYGEN__)
#define FALSE 0
#endif
@@ -37,6 +33,10 @@
#define TRUE 1
#endif
+#define _FROM_ASM_
+#include "nilconf.h"
+#include "nilcore.h"
+
#if !defined(__DOXYGEN__)
.set CONTEXT_OFFSET, 0