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/mcu123-lpc214x | |
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/mcu123-lpc214x')
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/composite/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/nsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/usbmsc/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/usbserial/defconfig | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/composite/defconfig b/nuttx/configs/mcu123-lpc214x/composite/defconfig index 737ec65c6..3020763b4 100644 --- a/nuttx/configs/mcu123-lpc214x/composite/defconfig +++ b/nuttx/configs/mcu123-lpc214x/composite/defconfig @@ -216,7 +216,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=0 # CONFIG_SCHED_CPULOAD is not set diff --git a/nuttx/configs/mcu123-lpc214x/nsh/defconfig b/nuttx/configs/mcu123-lpc214x/nsh/defconfig index 88d14c241..1f79f478c 100644 --- a/nuttx/configs/mcu123-lpc214x/nsh/defconfig +++ b/nuttx/configs/mcu123-lpc214x/nsh/defconfig @@ -174,7 +174,7 @@ CONFIG_NSH_MMCSDSPIPORTNO=1 # # 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/mcu123-lpc214x/usbmsc/defconfig b/nuttx/configs/mcu123-lpc214x/usbmsc/defconfig index 49b1141d0..b315b8ed8 100644 --- a/nuttx/configs/mcu123-lpc214x/usbmsc/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbmsc/defconfig @@ -215,7 +215,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=0 # CONFIG_SCHED_CPULOAD is not set diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig index 8c20ea6f4..b9613f963 100644 --- a/nuttx/configs/mcu123-lpc214x/usbserial/defconfig +++ b/nuttx/configs/mcu123-lpc214x/usbserial/defconfig @@ -216,7 +216,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=0 # CONFIG_SCHED_CPULOAD is not set |