aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-ARDUINO-MEGA/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR/RT-ARDUINO-MEGA/chconf.h')
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/chconf.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/demos/AVR/RT-ARDUINO-MEGA/chconf.h b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
index e4e830630..b752173f0 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/chconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
@@ -55,13 +55,13 @@
* @brief Time intervals data size.
* @note Allowed values are 16, 32 or 64 bits.
*/
-#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_INTERVALS_SIZE 16
/**
* @brief Time types data size.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 16
/**
* @brief Time delta constant for the tick-less mode.
@@ -106,7 +106,7 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE.
*/
-#define CH_CFG_MEMCORE_SIZE 128
+#define CH_CFG_MEMCORE_SIZE 16
/**
* @brief Idle thread automatic spawn suppression.
@@ -428,6 +428,14 @@
* @brief Debug option, trace buffer.
* @details If enabled then the trace buffer is activated.
*
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
* @note The default is @p FALSE.
*/
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
@@ -506,9 +514,9 @@
/**
* @brief Threads initialization hook.
- * @details User initialization code added to the @p _thread_init() function.
+ * @details User initialization code added to the @p chThdInit() API.
*
- * @note It is invoked from within @p _thread_init() and implicitly from all
+ * @note It is invoked from within @p chThdInit() and implicitly from all
* the threads creation APIs.
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \