aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-27 12:48:06 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-27 12:48:06 +0000
commit6b39a17ac99e88355162d972206b1e2bbcf45ced (patch)
treee5097c88e4700d89d64922d219b4e10f821a16f7 /tools
parentabea526c12673b5da562003c647f224916c37dd2 (diff)
downloadChibiOS-6b39a17ac99e88355162d972206b1e2bbcf45ced.tar.gz
ChibiOS-6b39a17ac99e88355162d972206b1e2bbcf45ced.tar.bz2
ChibiOS-6b39a17ac99e88355162d972206b1e2bbcf45ced.zip
Pipes API added to factory. Updated templates (to be run).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12298 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'tools')
-rw-r--r--tools/ftl/processors/conf/chconf_nil/chconf.h.ftl14
-rw-r--r--tools/ftl/processors/conf/chconf_rt/chconf.h.ftl20
2 files changed, 33 insertions, 1 deletions
diff --git a/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl b/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl
index ade7873fa..e6d9596af 100644
--- a/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl
+++ b/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl
@@ -170,6 +170,15 @@
#define CH_CFG_USE_OBJ_FIFOS ${doc.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 ${doc.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
@@ -232,6 +241,11 @@
*/
#define CH_CFG_FACTORY_OBJ_FIFOS ${doc.CH_CFG_FACTORY_OBJ_FIFOS!"TRUE"}
+/**
+ * @brief Enables factory for Pipes.
+ */
+#define CH_CFG_FACTORY_PIPES ${doc.CH_CFG_FACTORY_PIPES!"TRUE"}
+
/** @} */
/*===========================================================================*/
diff --git a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl
index 129186f2e..598f55cf5 100644
--- a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl
+++ b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl
@@ -371,7 +371,7 @@
#endif
/**
- * @brief Objects FIFOs APIs.
+ * @brief Objects FIFOs APIs.
* @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
@@ -382,6 +382,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 ${doc.CH_CFG_USE_PIPES!"TRUE"}
+#endif
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
@@ -458,6 +469,13 @@
#define CH_CFG_FACTORY_OBJ_FIFOS ${doc.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 ${doc.CH_CFG_FACTORY_PIPES!"TRUE"}
+#endif
+
/** @} */
/*===========================================================================*/