diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-G++/chconf.h | 25 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/chconf.h | 25 | ||||
-rw-r--r-- | demos/ARM7-LPC214x-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/AVR-AT90CANx-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/chconf.h | 25 | ||||
-rw-r--r-- | demos/Win32-MinGW/chconf.h | 25 |
10 files changed, 170 insertions, 80 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/chconf.h b/demos/ARM7-AT91SAM7X-GCC/chconf.h index f05f8b0b5..588445ee0 100644 --- a/demos/ARM7-AT91SAM7X-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-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
/**
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h b/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h index f05f8b0b5..588445ee0 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/chconf.h +++ b/demos/ARM7-AT91SAM7X-WEB-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
/**
diff --git a/demos/ARM7-LPC214x-G++/chconf.h b/demos/ARM7-LPC214x-G++/chconf.h index f05f8b0b5..588445ee0 100644 --- a/demos/ARM7-LPC214x-G++/chconf.h +++ b/demos/ARM7-LPC214x-G++/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
/**
diff --git a/demos/ARM7-LPC214x-GCC-minimal/chconf.h b/demos/ARM7-LPC214x-GCC-minimal/chconf.h index 03352998a..bebe419b2 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/chconf.h +++ b/demos/ARM7-LPC214x-GCC-minimal/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
/**
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
/**
diff --git a/demos/ARMCM3-STM32F103-GCC/chconf.h b/demos/ARMCM3-STM32F103-GCC/chconf.h index f05f8b0b5..588445ee0 100644 --- a/demos/ARMCM3-STM32F103-GCC/chconf.h +++ b/demos/ARMCM3-STM32F103-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
/**
diff --git a/demos/AVR-AT90CANx-GCC/chconf.h b/demos/AVR-AT90CANx-GCC/chconf.h index 5e787d675..da4744a16 100644 --- a/demos/AVR-AT90CANx-GCC/chconf.h +++ b/demos/AVR-AT90CANx-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
/**
diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h index 5e787d675..da4744a16 100644 --- a/demos/AVR-ATmega128-GCC/chconf.h +++ b/demos/AVR-ATmega128-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
/**
diff --git a/demos/MSP430-MSP430x1611-GCC/chconf.h b/demos/MSP430-MSP430x1611-GCC/chconf.h index f24019fcd..e270a6ccf 100644 --- a/demos/MSP430-MSP430x1611-GCC/chconf.h +++ b/demos/MSP430-MSP430x1611-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
/**
diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h index ac7131871..396f8d9a1 100644 --- a/demos/Win32-MinGW/chconf.h +++ b/demos/Win32-MinGW/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
/**
|