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/spark | |
parent | 391b1d290aaedcb048c1c97d905f9ae9e9af0795 (diff) | |
download | nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.gz nuttx-c1603e96719150625a8f53748703dd83e9681ede.tar.bz2 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/spark')
-rw-r--r-- | nuttx/configs/spark/composite/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/spark/nsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/spark/usbmsc/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/spark/usbnsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/spark/usbserial/defconfig | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/spark/composite/defconfig b/nuttx/configs/spark/composite/defconfig index 7e89c6877..37649e079 100644 --- a/nuttx/configs/spark/composite/defconfig +++ b/nuttx/configs/spark/composite/defconfig @@ -362,7 +362,7 @@ CONFIG_SPARK_FLASH_MINOR=0 # RTOS Features # CONFIG_BOARD_INITIALIZE=y -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 # CONFIG_SYSTEM_TIME64 is not set CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_CPULOAD is not set diff --git a/nuttx/configs/spark/nsh/defconfig b/nuttx/configs/spark/nsh/defconfig index d0bdb8c3a..f18bf6b06 100644 --- a/nuttx/configs/spark/nsh/defconfig +++ b/nuttx/configs/spark/nsh/defconfig @@ -362,7 +362,7 @@ CONFIG_SPARK_FLASH_MINOR=0 # RTOS Features # CONFIG_BOARD_INITIALIZE=y -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 # CONFIG_SYSTEM_TIME64 is not set CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_CPULOAD is not set diff --git a/nuttx/configs/spark/usbmsc/defconfig b/nuttx/configs/spark/usbmsc/defconfig index 944a4a120..a202f9495 100644 --- a/nuttx/configs/spark/usbmsc/defconfig +++ b/nuttx/configs/spark/usbmsc/defconfig @@ -362,7 +362,7 @@ CONFIG_SPARK_FLASH_MINOR=0 # RTOS Features # CONFIG_BOARD_INITIALIZE=y -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 # CONFIG_SYSTEM_TIME64 is not set CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_CPULOAD is not set diff --git a/nuttx/configs/spark/usbnsh/defconfig b/nuttx/configs/spark/usbnsh/defconfig index 68a2f3fc1..7a8134445 100644 --- a/nuttx/configs/spark/usbnsh/defconfig +++ b/nuttx/configs/spark/usbnsh/defconfig @@ -361,7 +361,7 @@ CONFIG_SPARK_FLASH_MINOR=0 # 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_CPULOAD is not set diff --git a/nuttx/configs/spark/usbserial/defconfig b/nuttx/configs/spark/usbserial/defconfig index cf021438b..2634d58c1 100644 --- a/nuttx/configs/spark/usbserial/defconfig +++ b/nuttx/configs/spark/usbserial/defconfig @@ -361,7 +361,7 @@ CONFIG_SPARK_FLASH_MINOR=0 # RTOS Features # CONFIG_BOARD_INITIALIZE=y -CONFIG_MSEC_PER_TICK=10 +CONFIG_USEC_PER_TICK=10000 # CONFIG_SYSTEM_TIME64 is not set CONFIG_RR_INTERVAL=200 # CONFIG_SCHED_CPULOAD is not set |