diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-03 17:14:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-10-03 17:14:03 +0000 |
commit | 2310f80695b4051cb63ca14878dfc5e76acb94e6 (patch) | |
tree | 70643e03f918333f051734336f97011644da076a /demos/Win32-MSVS/chconf.h | |
parent | 1b269aa139ba66288cc2c3f1b463c73821343262 (diff) | |
download | ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.tar.gz ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.tar.bz2 ChibiOS-2310f80695b4051cb63ca14878dfc5e76acb94e6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@30 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MSVS/chconf.h')
-rw-r--r-- | demos/Win32-MSVS/chconf.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/demos/Win32-MSVS/chconf.h b/demos/Win32-MSVS/chconf.h index 59a13d224..da7fcd266 100644 --- a/demos/Win32-MSVS/chconf.h +++ b/demos/Win32-MSVS/chconf.h @@ -68,6 +68,10 @@ * in the kernel.*/
#define CH_USE_SEMAPHORES
+/** Configuration option: if specified then the Semaphores atomic Signal+Wait
+ * APIs are included in the kernel.*/
+#define CH_USE_SEMSW
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
@@ -134,11 +138,11 @@ /** Configuration option: Frequency of the system timer that drives the system
* ticks. This also defines the system time unit.*/
-#define CH_FREQUENCY 100
+#define CH_FREQUENCY 1000
/** Configuration option: This constant is the number of ticks allowed for the
* threads before preemption occurs.*/
-#define CH_TIME_QUANTUM 10
+#define CH_TIME_QUANTUM 20
/** Configuration option: Defines a CPU register to be used as storage for the
* global \p currp variable. Caching this variable in a register can greatly
|