aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCMx/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-30 17:04:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-30 17:04:51 +0000
commit1134fe2a87e70cad601394793f0f01cfef066b70 (patch)
treec9748d498a31a5cfc7bf6124319428d499da1cf1 /os/ports/GCC/ARMCMx/chcore.h
parent5fa5b9ef5616c00ed5ae936a2efadfba47bcaa1f (diff)
downloadChibiOS-1134fe2a87e70cad601394793f0f01cfef066b70.tar.gz
ChibiOS-1134fe2a87e70cad601394793f0f01cfef066b70.tar.bz2
ChibiOS-1134fe2a87e70cad601394793f0f01cfef066b70.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1814 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCMx/chcore.h')
-rw-r--r--os/ports/GCC/ARMCMx/chcore.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore.h b/os/ports/GCC/ARMCMx/chcore.h
index 779485385..d858a806d 100644
--- a/os/ports/GCC/ARMCMx/chcore.h
+++ b/os/ports/GCC/ARMCMx/chcore.h
@@ -60,8 +60,7 @@
/**
* @brief Priority masking support.
*/
-#if (CORTEX_MODEL == CORTEX_M3) || (CORTEX_MODEL == CORTEX_M4) || \
- defined(__DOXYGEN__)
+#if defined(CH_ARCHITECTURE_ARM_v7M) || defined(__DOXYGEN__)
#define CORTEX_SUPPORTS_BASEPRI TRUE
#else
#define CORTEX_SUPPORTS_BASEPRI FALSE