aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/templates
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 /os/rt/templates
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 'os/rt/templates')
-rw-r--r--os/rt/templates/chconf.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h
index 724dc0264..8a441276f 100644
--- a/os/rt/templates/chconf.h
+++ b/os/rt/templates/chconf.h
@@ -48,7 +48,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 1000
+#define CH_CFG_ST_FREQUENCY 10000
/**
* @brief Time delta constant for the tick-less mode.
@@ -58,7 +58,7 @@
* The value one is not valid, timeouts are rounded up to
* this value.
*/
-#define CH_CFG_ST_TIMEDELTA 0
+#define CH_CFG_ST_TIMEDELTA 2
/** @} */
@@ -140,7 +140,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_TM FALSE
+#define CH_CFG_USE_TM TRUE
/**
* @brief Threads registry APIs.
@@ -295,6 +295,28 @@
#define CH_CFG_USE_MEMPOOLS TRUE
/**
+ * @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_OBJ_FIFOS TRUE
+
+/**
+ * @name Objects factory settings.
+ * @{
+ */
+#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
+#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
+#define CH_CFG_FACTORY_SEMAPHORES TRUE
+#define CH_CFG_FACTORY_MAILBOXES TRUE
+#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
+/** @} */
+
+/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.