diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-22 08:40:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-22 08:40:34 +0000 |
commit | 334ee6970801e8b72f8a36daa3d42acda56ec15e (patch) | |
tree | 0a45e86d06b7fde40409f17706e08575496feba8 /os/ports/GCC | |
parent | 151d1b7da5e6d5320cbf5d74e2e5da693108e1d9 (diff) | |
download | ChibiOS-334ee6970801e8b72f8a36daa3d42acda56ec15e.tar.gz ChibiOS-334ee6970801e8b72f8a36daa3d42acda56ec15e.tar.bz2 ChibiOS-334ee6970801e8b72f8a36daa3d42acda56ec15e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3247 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC')
-rw-r--r-- | os/ports/GCC/AVR/chcore.h | 4 | ||||
-rw-r--r-- | os/ports/GCC/MSP430/chcore.h | 4 | ||||
-rw-r--r-- | os/ports/GCC/PPC/chcore.h | 4 | ||||
-rw-r--r-- | os/ports/GCC/SIMIA32/chcore.h | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h index 744502825..282ec5a16 100644 --- a/os/ports/GCC/AVR/chcore.h +++ b/os/ports/GCC/AVR/chcore.h @@ -32,6 +32,10 @@ #include <avr/io.h>
#include <avr/interrupt.h>
+#if CH_DBG_ENABLE_STACK_CHECK
+#error "option CH_DBG_ENABLE_STACK_CHECK not supported by this port"
+#endif
+
/**
* @brief If enabled allows the idle thread to enter a low power mode.
*/
diff --git a/os/ports/GCC/MSP430/chcore.h b/os/ports/GCC/MSP430/chcore.h index 3fb0f3591..c969a6b16 100644 --- a/os/ports/GCC/MSP430/chcore.h +++ b/os/ports/GCC/MSP430/chcore.h @@ -32,6 +32,10 @@ #include <iomacros.h>
#include <msp430/common.h>
+#if CH_DBG_ENABLE_STACK_CHECK
+#error "option CH_DBG_ENABLE_STACK_CHECK not supported by this port"
+#endif
+
/**
* @brief Enables the use of a wait state in the idle thread loop.
*/
diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h index 01b31bbb7..57ad8db27 100644 --- a/os/ports/GCC/PPC/chcore.h +++ b/os/ports/GCC/PPC/chcore.h @@ -29,6 +29,10 @@ #ifndef _CHCORE_H_
#define _CHCORE_H_
+#if CH_DBG_ENABLE_STACK_CHECK
+#error "option CH_DBG_ENABLE_STACK_CHECK not supported by this port"
+#endif
+
/*
* Port-related configuration parameters.
*/
diff --git a/os/ports/GCC/SIMIA32/chcore.h b/os/ports/GCC/SIMIA32/chcore.h index 2a9d3d452..8bfa719f8 100644 --- a/os/ports/GCC/SIMIA32/chcore.h +++ b/os/ports/GCC/SIMIA32/chcore.h @@ -26,6 +26,10 @@ #ifndef _CHCORE_H_
#define _CHCORE_H_
+#if CH_DBG_ENABLE_STACK_CHECK
+#error "option CH_DBG_ENABLE_STACK_CHECK not supported by this port"
+#endif
+
/**
* Macro defining the a simulated architecture into x86.
*/
|