aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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