From 437666f4048996a89a9688d6c121efbb320174ae Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 9 Jun 2007 15:49:44 +0000 Subject: [PATCH] Add support for custom system timer frequency git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@274 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 6 ++++-- Documentation/NuttxPortingGuide.html | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index c6800174287..6b5d03248cb 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: May 26, 2007

+

Last Updated: June 9, 2007

@@ -595,7 +595,9 @@ Other memory: * sched/usleep.c: Fixed nsec calculation * lib/lib_strcspn.c: Function incorrectly named strspn(). * examples/ostest/main.c: Errors in SDCC version of a memcpy() call - * examples/ostest/sighandl.c: Don't call fflush() if streams are disabled + * examples/ostest/sighand.c: Don't call fflush() if streams are disabled + * include/limits.h, include/time.h, sched/clock_internal.h: A support for + using selectable system timer frequency. * Started m68322 diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 8cd9d06e366..38ab0c31e99 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -1163,6 +1163,12 @@ The system can be re-made subsequently by just typing make. number of memory regions that the memory manager must handle and enables the API mm_addregion(start, end); +
  • + CONFIG_TICKS_PER_MSEC: The default system timer is 100Hz + or TICKS_PER_MSEC=10. This setting may be defined to inform NuttX + that the processor hardware is providing system timer interrupts at some interrupt + interval other than 10 msec. +
  • CONFIG_RR_INTERVAL: The round robin timeslice will be set this number of milliseconds; Round robin scheduling can