diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-27 18:11:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-27 18:11:16 +0000 |
commit | cea523fdb0cad1ec6422a9b4ea13ba08da0932a1 (patch) | |
tree | 9c0267d48de82f4923dbf5425d53a902fd0d53b7 /os/ports | |
parent | 2f46bd9742047fac9ed3d139396b112120e2eada (diff) | |
download | ChibiOS-cea523fdb0cad1ec6422a9b4ea13ba08da0932a1.tar.gz ChibiOS-cea523fdb0cad1ec6422a9b4ea13ba08da0932a1.tar.bz2 ChibiOS-cea523fdb0cad1ec6422a9b4ea13ba08da0932a1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6035 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/GCC/ARMCMx/chcore_v7m.h | 5 | ||||
-rw-r--r-- | os/ports/GCC/ARMCMx/chtypes.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h index 9bf9dafb2..6cd461408 100644 --- a/os/ports/GCC/ARMCMx/chcore_v7m.h +++ b/os/ports/GCC/ARMCMx/chcore_v7m.h @@ -74,6 +74,11 @@ /** @} */
/**
+ * @brief This port supports a realtime counter.
+ */
+#define CH_PORT_SUPPORTS_RT TRUE
+
+/**
* @brief Disabled value for BASEPRI register.
*/
#define CORTEX_BASEPRI_DISABLED 0
diff --git a/os/ports/GCC/ARMCMx/chtypes.h b/os/ports/GCC/ARMCMx/chtypes.h index 689b8c64d..65f8cafeb 100644 --- a/os/ports/GCC/ARMCMx/chtypes.h +++ b/os/ports/GCC/ARMCMx/chtypes.h @@ -34,6 +34,7 @@ #include <stdbool.h>
typedef bool bool_t; /**< Fast boolean type. */
+typedef uint32_t rtcnt_t; /**< Realtime counter. */
typedef uint32_t syssts_t; /**< System status word. */
typedef uint8_t tmode_t; /**< Thread flags. */
typedef uint8_t tstate_t; /**< Thread state. */
|