From efb5332373ccaa36b2d2e465b3bceb2b7f4b7655 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 4 Nov 2014 09:40:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7473 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/ports/e200/compilers/GCC/niltypes.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'os/nil/ports/e200/compilers/GCC/niltypes.h') diff --git a/os/nil/ports/e200/compilers/GCC/niltypes.h b/os/nil/ports/e200/compilers/GCC/niltypes.h index 6ea0f76de..1b9267801 100644 --- a/os/nil/ports/e200/compilers/GCC/niltypes.h +++ b/os/nil/ports/e200/compilers/GCC/niltypes.h @@ -58,6 +58,15 @@ typedef uint32_t eventmask_t; /**< Mask of event identifiers. */ typedef int32_t cnt_t; /**< Generic signed counter. */ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */ +/** + * @brief Type of system time. + */ +#if (NIL_CFG_ST_RESOLUTION == 32) || defined(__DOXYGEN__) +typedef uint32_t systime_t; +#else +typedef uint16_t systime_t; +#endif + /** * @brief ROM constant modifier. * @note It is set to use the "const" keyword in this port. -- cgit v1.2.3