aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/chconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-03 17:14:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-03 17:14:03 +0000
commit2310f80695b4051cb63ca14878dfc5e76acb94e6 (patch)
tree70643e03f918333f051734336f97011644da076a /demos/Win32-MinGW/chconf.h
parent1b269aa139ba66288cc2c3f1b463c73821343262 (diff)
downloadChibiOS-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-MinGW/chconf.h')
-rw-r--r--demos/Win32-MinGW/chconf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h
index 13de9f457..5582ae80a 100644
--- a/demos/Win32-MinGW/chconf.h
+++ b/demos/Win32-MinGW/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