diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-26 09:46:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-26 09:46:43 +0000 |
commit | 6ae1a6c88223d875f0dbd81066d4d8f40713b0a0 (patch) | |
tree | ad1d765b1bd402fe35b2a1d886517c6e5222f49e | |
parent | 69f9642bf44e6e3de680b07a22a290b9219ab47d (diff) | |
download | ChibiOS-6ae1a6c88223d875f0dbd81066d4d8f40713b0a0.tar.gz ChibiOS-6ae1a6c88223d875f0dbd81066d4d8f40713b0a0.tar.bz2 ChibiOS-6ae1a6c88223d875f0dbd81066d4d8f40713b0a0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@360 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-G++/chconf.h | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/chconf.h | 4 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/chconf.h | 2 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/AVR-AT90CANx-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/chconf.h | 4 | ||||
-rw-r--r-- | demos/Win32-MinGW/chconf.h | 4 | ||||
-rw-r--r-- | docs/ch.txt | 13 | ||||
-rw-r--r-- | src/chcond.c | 2 | ||||
-rw-r--r-- | src/include/condvars.h | 2 | ||||
-rw-r--r-- | src/templates/chconf.h | 4 |
14 files changed, 57 insertions, 2 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/chconf.h b/demos/ARM7-AT91SAM7X-GCC/chconf.h index 8db71b445..5555184c4 100644 --- a/demos/ARM7-AT91SAM7X-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-GCC/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h index 8db71b445..5555184c4 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/ARM7-LPC214x-G++/chconf.h b/demos/ARM7-LPC214x-G++/chconf.h index 8db71b445..5555184c4 100644 --- a/demos/ARM7-LPC214x-G++/chconf.h +++ b/demos/ARM7-LPC214x-G++/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/ARM7-LPC214x-GCC-minimal/chconf.h b/demos/ARM7-LPC214x-GCC-minimal/chconf.h index 9f903df06..83a8865af 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h +++ b/demos/ARM7-LPC214x-GCC-minimal/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
//#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+//#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/ARM7-LPC214x-GCC/chconf.h b/demos/ARM7-LPC214x-GCC/chconf.h index a1d28bc9c..5555184c4 100644 --- a/demos/ARM7-LPC214x-GCC/chconf.h +++ b/demos/ARM7-LPC214x-GCC/chconf.h @@ -75,6 +75,8 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
#define CH_USE_CONDVARS
/** Configuration option: if specified then the Semaphores with timeout APIs
diff --git a/demos/ARMCM3-STM32F103-GCC/chconf.h b/demos/ARMCM3-STM32F103-GCC/chconf.h index 8db71b445..5555184c4 100644 --- a/demos/ARMCM3-STM32F103-GCC/chconf.h +++ b/demos/ARMCM3-STM32F103-GCC/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/AVR-AT90CANx-GCC/chconf.h b/demos/AVR-AT90CANx-GCC/chconf.h index fca0159a2..a6b0f4a95 100644 --- a/demos/AVR-AT90CANx-GCC/chconf.h +++ b/demos/AVR-AT90CANx-GCC/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h index fca0159a2..a6b0f4a95 100644 --- a/demos/AVR-ATmega128-GCC/chconf.h +++ b/demos/AVR-ATmega128-GCC/chconf.h @@ -75,6 +75,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/MSP430-MSP430x1611-GCC/chconf.h b/demos/MSP430-MSP430x1611-GCC/chconf.h index 7e29d314e..b4bc56505 100644 --- a/demos/MSP430-MSP430x1611-GCC/chconf.h +++ b/demos/MSP430-MSP430x1611-GCC/chconf.h @@ -76,6 +76,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h index b17295c65..e18ab2d0b 100644 --- a/demos/Win32-MinGW/chconf.h +++ b/demos/Win32-MinGW/chconf.h @@ -80,6 +80,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
diff --git a/docs/ch.txt b/docs/ch.txt index a88291bb2..1f57b2d60 100644 --- a/docs/ch.txt +++ b/docs/ch.txt @@ -373,6 +373,19 @@ /** @} */
/**
+ * @defgroup CondVars Conditional Variables
+ * @{
+ * Conditional Variables and threads synchronization.
+ * <b>Operation mode</b><br><br>
+ * Add description here.<br>
+ * In order to use the Conditional Variables APIs the \p CH_USE_CONDVARS
+ * option must be specified in \p chconf.h.<br><br>
+ * @file condvars.h Conditional Variables macros and structures.
+ * @file chcond.c Conditional Variables code.
+ */
+/** @} */
+
+/**
* @defgroup Mutexes Mutexes
* @{
* Mutexes and threads synchronization.
diff --git a/src/chcond.c b/src/chcond.c index adc1fc763..cdfeb5d28 100644 --- a/src/chcond.c +++ b/src/chcond.c @@ -18,7 +18,7 @@ */
/**
- * @addtogroup Condition Variables
+ * @addtogroup CondVars
* @{
*/
diff --git a/src/include/condvars.h b/src/include/condvars.h index ec6c4589f..f5d3f56a6 100644 --- a/src/include/condvars.h +++ b/src/include/condvars.h @@ -18,7 +18,7 @@ */
/**
- * @addtogroup Conditional Variables
+ * @addtogroup CondVars
* @{
*/
diff --git a/src/templates/chconf.h b/src/templates/chconf.h index d059f3097..823bb7ccd 100644 --- a/src/templates/chconf.h +++ b/src/templates/chconf.h @@ -76,6 +76,10 @@ * APIs are included in the kernel.*/
#define CH_USE_SEMSW
+/** Configuration option: if specified then the Conditional Variables APIs are
+ * included in the kernel.*/
+#define CH_USE_CONDVARS
+
/** Configuration option: if specified then the Semaphores with timeout APIs
* are included in the kernel.
* @note requires \p CH_USE_SEMAPHORES.
|