aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-29 16:14:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-29 16:14:19 +0000
commitf562ee4948dd1e2b9175dfa3f2a2c071023c6167 (patch)
tree2eb70e4dd12e9e523393d0b078e8ce87f5629e39 /demos/various
parent1dcfea82ecb4c16cade1380f23fd6f239021ebdd (diff)
downloadChibiOS-f562ee4948dd1e2b9175dfa3f2a2c071023c6167.tar.gz
ChibiOS-f562ee4948dd1e2b9175dfa3f2a2c071023c6167.tar.bz2
ChibiOS-f562ee4948dd1e2b9175dfa3f2a2c071023c6167.zip
Mass update of configuration files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12306 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/various')
-rw-r--r--demos/various/NIL-ARMCM0-GENERIC/chconf.h14
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/chconf.h14
-rw-r--r--demos/various/RT-ARM7-GENERIC/chconf.h20
-rw-r--r--demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h20
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h20
-rwxr-xr-xdemos/various/RT-Posix-Simulator/cfg/chconf.h20
-rwxr-xr-xdemos/various/RT-Posix-Simulator/cfg/halconf.h7
-rw-r--r--demos/various/RT-Win32-Simulator/cfg/chconf.h20
-rw-r--r--demos/various/RT-Win32-Simulator/cfg/halconf.h7
9 files changed, 137 insertions, 5 deletions
diff --git a/demos/various/NIL-ARMCM0-GENERIC/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
index 4e09c37ce..c6507a891 100644
--- a/demos/various/NIL-ARMCM0-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
@@ -159,6 +159,15 @@
#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_PIPES TRUE
+
+/**
* @brief Managed RAM size.
* @details Size of the RAM area to be managed by the OS. If set to zero
* then the whole available RAM is used. The core memory is made
@@ -221,6 +230,11 @@
*/
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
+/**
+ * @brief Enables factory for Pipes.
+ */
+#define CH_CFG_FACTORY_PIPES TRUE
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
index 4e09c37ce..c6507a891 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
@@ -159,6 +159,15 @@
#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#define CH_CFG_USE_PIPES TRUE
+
+/**
* @brief Managed RAM size.
* @details Size of the RAM area to be managed by the OS. If set to zero
* then the whole available RAM is used. The core memory is made
@@ -221,6 +230,11 @@
*/
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
+/**
+ * @brief Enables factory for Pipes.
+ */
+#define CH_CFG_FACTORY_PIPES TRUE
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-ARM7-GENERIC/chconf.h b/demos/various/RT-ARM7-GENERIC/chconf.h
index d8f495f73..99a414275 100644
--- a/demos/various/RT-ARM7-GENERIC/chconf.h
+++ b/demos/various/RT-ARM7-GENERIC/chconf.h
@@ -360,7 +360,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -371,6 +371,17 @@
#endif
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(CH_CFG_USE_PIPES)
+#define CH_CFG_USE_PIPES TRUE
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -447,6 +458,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
#endif
+/**
+ * @brief Enables factory for Pipes.
+ */
+#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_PIPES TRUE
+#endif
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h
index d8f495f73..99a414275 100644
--- a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h
+++ b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h
@@ -360,7 +360,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -371,6 +371,17 @@
#endif
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(CH_CFG_USE_PIPES)
+#define CH_CFG_USE_PIPES TRUE
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -447,6 +458,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
#endif
+/**
+ * @brief Enables factory for Pipes.
+ */
+#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_PIPES TRUE
+#endif
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h
index 382dbe3a1..6a8831526 100644
--- a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h
+++ b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h
@@ -360,7 +360,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -371,6 +371,17 @@
#endif
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(CH_CFG_USE_PIPES)
+#define CH_CFG_USE_PIPES TRUE
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -447,6 +458,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
#endif
+/**
+ * @brief Enables factory for Pipes.
+ */
+#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_PIPES TRUE
+#endif
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-Posix-Simulator/cfg/chconf.h b/demos/various/RT-Posix-Simulator/cfg/chconf.h
index c47fd40be..0175ebce3 100755
--- a/demos/various/RT-Posix-Simulator/cfg/chconf.h
+++ b/demos/various/RT-Posix-Simulator/cfg/chconf.h
@@ -360,7 +360,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -371,6 +371,17 @@
#endif
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(CH_CFG_USE_PIPES)
+#define CH_CFG_USE_PIPES TRUE
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -447,6 +458,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
#endif
+/**
+ * @brief Enables factory for Pipes.
+ */
+#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_PIPES TRUE
+#endif
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-Posix-Simulator/cfg/halconf.h b/demos/various/RT-Posix-Simulator/cfg/halconf.h
index 0714d21eb..4c1afaa56 100755
--- a/demos/various/RT-Posix-Simulator/cfg/halconf.h
+++ b/demos/various/RT-Posix-Simulator/cfg/halconf.h
@@ -160,6 +160,13 @@
#endif
/**
+ * @brief Enables the SIO subsystem.
+ */
+#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__)
+#define HAL_USE_SIO FALSE
+#endif
+
+/**
* @brief Enables the SPI subsystem.
*/
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
diff --git a/demos/various/RT-Win32-Simulator/cfg/chconf.h b/demos/various/RT-Win32-Simulator/cfg/chconf.h
index edebb30d0..bbff2e4b3 100644
--- a/demos/various/RT-Win32-Simulator/cfg/chconf.h
+++ b/demos/various/RT-Win32-Simulator/cfg/chconf.h
@@ -360,7 +360,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -371,6 +371,17 @@
#endif
/**
+ * @brief Pipes APIs.
+ * @details If enabled then the pipes APIs are included
+ * in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(CH_CFG_USE_PIPES)
+#define CH_CFG_USE_PIPES TRUE
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -447,6 +458,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
#endif
+/**
+ * @brief Enables factory for Pipes.
+ */
+#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_PIPES TRUE
+#endif
+
/** @} */
/*===========================================================================*/
diff --git a/demos/various/RT-Win32-Simulator/cfg/halconf.h b/demos/various/RT-Win32-Simulator/cfg/halconf.h
index 0714d21eb..4c1afaa56 100644
--- a/demos/various/RT-Win32-Simulator/cfg/halconf.h
+++ b/demos/various/RT-Win32-Simulator/cfg/halconf.h
@@ -160,6 +160,13 @@
#endif
/**
+ * @brief Enables the SIO subsystem.
+ */
+#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__)
+#define HAL_USE_SIO FALSE
+#endif
+
+/**
* @brief Enables the SPI subsystem.
*/
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)