diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-14 18:20:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-14 18:20:33 +0000 |
commit | fa9b36aff3676a897503a359314d08db8fc5a09d (patch) | |
tree | d7cbfc124faa41fa4ca14c270a178139931df8ad /demos/ARM7-LPC214x-GCC/chconf.h | |
parent | 50708b39516b77397dc76195ab963aa5909e48b0 (diff) | |
download | ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.gz ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.bz2 ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@766 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/chconf.h')
-rw-r--r-- | demos/ARM7-LPC214x-GCC/chconf.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/demos/ARM7-LPC214x-GCC/chconf.h b/demos/ARM7-LPC214x-GCC/chconf.h index f05f8b0b5..588445ee0 100644 --- a/demos/ARM7-LPC214x-GCC/chconf.h +++ b/demos/ARM7-LPC214x-GCC/chconf.h @@ -310,21 +310,30 @@ #endif
/**
- * Debug option, if enableed includes basic debug support to the kernel.
- * @note The debug support is port-dependent, it may be not present on some
- * targets. In that case stub functions will be included.
+ * Debug option, if enabled all the assertions in the kernel code are
+ * activated. This includes function parameters checks and consistency
+ * checks inside the kernel.
* @note The default is @p FALSE.
*/
-#ifndef CH_USE_DEBUG
-#define CH_USE_DEBUG FALSE
+#ifndef CH_DBG_ENABLE_ASSERTS
+#define CH_DBG_ENABLE_ASSERTS FALSE
#endif
/**
- * Debug option, includes the threads context switch tracing feature.
+ * Debug option, if enabled the context switch circular trace buffer is
+ * activated.
* @note The default is @p FALSE.
*/
-#ifndef CH_USE_TRACE
-#define CH_USE_TRACE FALSE
+#ifndef CH_DBG_ENABLE_TRACE
+#define CH_DBG_ENABLE_TRACE FALSE
+#endif
+
+/**
+ * Debug option, if enabled the threads working area is filled with a byte
+ * pattern when a thread is created.
+ */
+#ifndef CH_DBG_FILL_THREADS
+#define CH_DBG_FILL_THREADS FALSE
#endif
/**
|