diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 13:42:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 13:42:47 -0600 |
commit | c1603e96719150625a8f53748703dd83e9681ede (patch) | |
tree | da40cc56c6fb975108cf3c607f183aaa129cb6f9 /nuttx/configs/z80sim | |
parent | 391b1d290aaedcb048c1c97d905f9ae9e9af0795 (diff) | |
download | px4-nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.gz px4-nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.bz2 px4-nuttx-c1603e96719150625a8f53748703dd83e9681ede.zip |
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/z80sim')
-rw-r--r-- | nuttx/configs/z80sim/nsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/z80sim/ostest/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/z80sim/pashello/defconfig | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/z80sim/nsh/defconfig b/nuttx/configs/z80sim/nsh/defconfig index f576bb755..404c55552 100644 --- a/nuttx/configs/z80sim/nsh/defconfig +++ b/nuttx/configs/z80sim/nsh/defconfig @@ -120,7 +120,7 @@ CONFIG_NSH_MMCSDMINOR=0 # # RTOS Features # -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 CONFIG_RR_INTERVAL=0 # CONFIG_SCHED_INSTRUMENTATION is not set CONFIG_TASK_NAME_SIZE=0 diff --git a/nuttx/configs/z80sim/ostest/defconfig b/nuttx/configs/z80sim/ostest/defconfig index e8a005a39..58e8a0752 100644 --- a/nuttx/configs/z80sim/ostest/defconfig +++ b/nuttx/configs/z80sim/ostest/defconfig @@ -119,7 +119,7 @@ CONFIG_ARCH_BOARD="z80sim" # # RTOS Features # -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 CONFIG_RR_INTERVAL=0 # CONFIG_SCHED_INSTRUMENTATION is not set CONFIG_TASK_NAME_SIZE=0 diff --git a/nuttx/configs/z80sim/pashello/defconfig b/nuttx/configs/z80sim/pashello/defconfig index 7f5ca7d20..10300460a 100644 --- a/nuttx/configs/z80sim/pashello/defconfig +++ b/nuttx/configs/z80sim/pashello/defconfig @@ -119,7 +119,7 @@ CONFIG_ARCH_BOARD="z80sim" # # RTOS Features # -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 CONFIG_RR_INTERVAL=0 # CONFIG_SCHED_INSTRUMENTATION is not set CONFIG_TASK_NAME_SIZE=0 |