diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-12 17:45:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-12 17:45:10 +0000 |
commit | a86b48c578db236dddea8f141db7607741d48e57 (patch) | |
tree | b82f567fd5fbfbc507dcd386cd0f480a95ce60e0 /demos | |
parent | 8261c67442055afea77ee907dac2bf6199ee73e0 (diff) | |
download | ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.tar.gz ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.tar.bz2 ChibiOS-a86b48c578db236dddea8f141db7607741d48e57.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6298 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h | 6 | ||||
-rw-r--r-- | demos/nil/NIL-STM32F373-STM32373C_EVAL/nilconf.h | 6 | ||||
-rw-r--r-- | demos/nil/NIL-STM32L152-DISCOVERY/nilconf.h | 8 |
3 files changed, 19 insertions, 1 deletions
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 @@ -52,6 +52,12 @@ /*===========================================================================*/
/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define NIL_CFG_ST_RESOLUTION 32
+
+/**
* @brief System tick frequency.
*/
#define NIL_CFG_ST_FREQUENCY 50000
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 @@ -52,6 +52,12 @@ /*===========================================================================*/
/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define NIL_CFG_ST_RESOLUTION 32
+
+/**
* @brief System tick frequency.
*/
#define NIL_CFG_ST_FREQUENCY 50000
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 @@ -52,6 +52,12 @@ /*===========================================================================*/
/**
+ * @brief System time counter resolution.
+ * @note Allowed values are 16 or 32 bits.
+ */
+#define NIL_CFG_ST_RESOLUTION 16
+
+/**
* @brief System tick frequency.
*/
#define NIL_CFG_ST_FREQUENCY 1000
@@ -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
/** @} */
|