aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-04 14:24:45 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-04 14:24:45 +0000
commit0c5eef8e02b15fb4b8c3f829299c47ea273a4a46 (patch)
tree8fe0db9df4aee67ba6eabef9f61339703d8ed8c2 /demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
parenteaa33f5bdbee5aa3c77cdfaeb9c1333251bd5a4d (diff)
downloadChibiOS-0c5eef8e02b15fb4b8c3f829299c47ea273a4a46.tar.gz
ChibiOS-0c5eef8e02b15fb4b8c3f829299c47ea273a4a46.tar.bz2
ChibiOS-0c5eef8e02b15fb4b8c3f829299c47ea273a4a46.zip
chconf.h files alignment pass 1
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10765 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F303-DISCOVERY/chconf.h')
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/chconf.h53
1 files changed, 50 insertions, 3 deletions
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
index 71d3ae844..8f3014426 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
@@ -295,13 +295,13 @@
#define CH_CFG_USE_MEMPOOLS TRUE
/**
- * @brief Objects factory APIs.
- * @details If enabled then the objects factory APIs are included
+ * @brief Objects FIFOs APIs.
+ * @details If enabled then the objects FIFOs APIs are included
* in the kernel.
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
* @brief Dynamic Threads APIs.
@@ -313,6 +313,53 @@
* @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS.
*/
#define CH_CFG_USE_DYNAMIC TRUE
+/** @} */
+
+/*===========================================================================*/
+/**
+ * @name Objects factory options
+ * @{
+ */
+/*===========================================================================*/
+
+/**
+ * @brief Objects factory APIs.
+ * @details If enabled then the objects factory APIs are included in the
+ * kernel.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_CFG_USE_FACTORY TRUE
+
+/**
+ * @brief Enables the registry of generic objects.
+ */
+#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+
+/**
+ * @brief Enables factory for generic buffers.
+ */
+#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
+
+/**
+ * @brief Enables factory for generic buffers.
+ */
+#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
+
+/**
+ * @brief Enables factory for semaphores.
+ */
+#define CH_CFG_FACTORY_SEMAPHORES TRUE
+
+/**
+ * @brief Enables factory for mailboxes.
+ */
+#define CH_CFG_FACTORY_MAILBOXES TRUE
+
+/**
+ * @brief Enables factory for objects FIFOs.
+ */
+#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
/** @} */