aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC-minimal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-25 14:32:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-25 14:32:39 +0000
commiteb9b4efd31018e4949e3cc09830a5ecfc1304664 (patch)
tree99b3f334b22c57eed4147463e769b2296b5c169d /demos/ARM7-LPC214x-GCC-minimal
parent266206d33a7626341f3a206d730cb842dd39d2bc (diff)
downloadChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.tar.gz
ChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.tar.bz2
ChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@353 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC-minimal')
-rw-r--r--demos/ARM7-LPC214x-GCC-minimal/chconf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/demos/ARM7-LPC214x-GCC-minimal/chconf.h b/demos/ARM7-LPC214x-GCC-minimal/chconf.h
index d12a1827e..9f903df06 100644
--- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h
+++ b/demos/ARM7-LPC214x-GCC-minimal/chconf.h
@@ -38,6 +38,10 @@
* included in the kernel.*/
#define CH_USE_VIRTUAL_TIMERS
+/** Configuration option: if specified then the kernel performs the round
+ * robin scheduling algorithm on threads of equal priority. */
+#define CH_USE_ROUNDROBIN
+
/** Configuration option: if specified then the System Timer subsystem is
* included in the kernel.*/
#define CH_USE_SYSTEMTIME
@@ -138,7 +142,8 @@
#define CH_FREQUENCY 1000
/** Configuration option: This constant is the number of ticks allowed for the
- * threads before preemption occurs.*/
+ * threads before preemption occurs. This option is only meaningful if the
+ * option \p CH_USE_ROUNDROBIN is also active.*/
#define CH_TIME_QUANTUM 20
/** Configuration option: Defines a CPU register to be used as storage for the