diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-07 13:18:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-07 13:18:24 +0000 |
commit | f9332195609981b6b62298226016b37e81057bc8 (patch) | |
tree | 33e203159e9f6b48c7873bf05251ef94f895a8d8 /os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h | |
parent | 645242ceb8ff8e060330084a326dbbc9be3849b7 (diff) | |
download | ChibiOS-f9332195609981b6b62298226016b37e81057bc8.tar.gz ChibiOS-f9332195609981b6b62298226016b37e81057bc8.tar.bz2 ChibiOS-f9332195609981b6b62298226016b37e81057bc8.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2604 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h')
-rw-r--r-- | os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h b/os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h new file mode 100644 index 000000000..799f14e64 --- /dev/null +++ b/os/ports/RVCT/ARMCMx/LPC13xx/cmparams.h @@ -0,0 +1,56 @@ +/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file RVCT/ARMCMx/LPC13xx/cmparams.h
+ * @brief ARM Cortex-M3 parameters for the LPC13xx.
+ *
+ * @defgroup ARMCMx_LPC13xx LPC13xx Specific Parameters
+ * @ingroup ARMCMx_SPECIFIC
+ * @details This file contains the Cortex-M3 specific parameters for the
+ * LPC13xx platform.
+ * @{
+ */
+
+#ifndef _CMPARAMS_H_
+#define _CMPARAMS_H_
+
+/**
+ * @brief Cortex core model.
+ */
+#define CORTEX_MODEL CORTEX_M3
+
+/**
+ * @brief Systick unit presence.
+ */
+#define CORTEX_HAS_ST TRUE
+
+/**
+ * @brief Memory Protection unit presence.
+ */
+#define CORTEX_HAS_MPU FALSE
+
+/**
+ * @brief Number of bits in priority masks.
+ */
+#define CORTEX_PRIORITY_BITS 3
+
+#endif /* _CMPARAMS_H_ */
+
+/** @} */
|