summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/z16f2800100zcog
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-07 13:42:47 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-07 13:42:47 -0600
commitc1603e96719150625a8f53748703dd83e9681ede (patch)
treeda40cc56c6fb975108cf3c607f183aaa129cb6f9 /nuttx/configs/z16f2800100zcog
parent391b1d290aaedcb048c1c97d905f9ae9e9af0795 (diff)
Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r--nuttx/configs/z16f2800100zcog/nsh/defconfig2
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/defconfig2
-rw-r--r--nuttx/configs/z16f2800100zcog/pashello/defconfig2
3 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/z16f2800100zcog/nsh/defconfig b/nuttx/configs/z16f2800100zcog/nsh/defconfig
index 9127639fd3..42b49768f2 100644
--- a/nuttx/configs/z16f2800100zcog/nsh/defconfig
+++ b/nuttx/configs/z16f2800100zcog/nsh/defconfig
@@ -192,7 +192,7 @@ CONFIG_DISABLE_OS_API=y
#
# Clocks and Timers
#
-CONFIG_MSEC_PER_TICK=10
+CONFIG_USEC_PER_TICK=10000
# CONFIG_SYSTEM_TIME64 is not set
# CONFIG_CLOCK_MONOTONIC is not set
# CONFIG_JULIAN_TIME is not set
diff --git a/nuttx/configs/z16f2800100zcog/ostest/defconfig b/nuttx/configs/z16f2800100zcog/ostest/defconfig
index e13799c3c8..64a3aab4a4 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/defconfig
+++ b/nuttx/configs/z16f2800100zcog/ostest/defconfig
@@ -167,7 +167,7 @@ CONFIG_ARCH_LEDS=y
# RTOS Features
#
# CONFIG_BOARD_INITIALIZE is not set
-CONFIG_MSEC_PER_TICK=10
+CONFIG_USEC_PER_TICK=10000
# CONFIG_SYSTEM_TIME64 is not set
CONFIG_RR_INTERVAL=200
# CONFIG_SCHED_INSTRUMENTATION is not set
diff --git a/nuttx/configs/z16f2800100zcog/pashello/defconfig b/nuttx/configs/z16f2800100zcog/pashello/defconfig
index eac9d5203d..e4205c8af2 100644
--- a/nuttx/configs/z16f2800100zcog/pashello/defconfig
+++ b/nuttx/configs/z16f2800100zcog/pashello/defconfig
@@ -143,7 +143,7 @@ CONFIG_ARCH_LEDS=y
#
# RTOS Features
#
-CONFIG_MSEC_PER_TICK=10
+CONFIG_USEC_PER_TICK=10000
CONFIG_RR_INTERVAL=200
# CONFIG_SCHED_INSTRUMENTATION is not set
CONFIG_TASK_NAME_SIZE=0