From a86b48c578db236dddea8f141db7607741d48e57 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 12 Sep 2013 17:45:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6298 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h | 6 ++++++ demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h | 6 ++++++ demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h | 8 +++++++- 3 files changed, 19 insertions(+), 1 deletion(-) (limited to 'demos/nil') diff --git a/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h index 220ce8b37..54fb32ca4 100644 --- a/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h @@ -51,6 +51,12 @@ */ /*===========================================================================*/ +/** + * @brief System time counter resolution. + * @note Allowed values are 16 or 32 bits. + */ +#define NIL_CFG_ST_RESOLUTION 32 + /** * @brief System tick frequency. */ diff --git a/demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h b/demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h index 220ce8b37..54fb32ca4 100644 --- a/demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h +++ b/demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h @@ -51,6 +51,12 @@ */ /*===========================================================================*/ +/** + * @brief System time counter resolution. + * @note Allowed values are 16 or 32 bits. + */ +#define NIL_CFG_ST_RESOLUTION 32 + /** * @brief System tick frequency. */ diff --git a/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h index c43879adb..eeec0899f 100644 --- a/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h @@ -51,6 +51,12 @@ */ /*===========================================================================*/ +/** + * @brief System time counter resolution. + * @note Allowed values are 16 or 32 bits. + */ +#define NIL_CFG_ST_RESOLUTION 16 + /** * @brief System tick frequency. */ @@ -64,7 +70,7 @@ * The value one is not valid, timeouts are rounded up to * this value. */ -#define NIL_CFG_ST_TIMEDELTA 0 +#define NIL_CFG_ST_TIMEDELTA 2 /** @} */ -- cgit v1.2.3