aboutsummaryrefslogtreecommitdiffstats
path: root/demos/KINETIS/RT-FREEDOM-K20D50M
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-03-15 22:57:55 -0300
committerFabio Utzig <utzig@utzig.org>2016-03-15 22:57:55 -0300
commitc63d6a590810570aa1dfec2d07f5bac1f8d698ad (patch)
treef2b5cbcb80213096e14ff1aad3ebd3a21d15dce8 /demos/KINETIS/RT-FREEDOM-K20D50M
parent0bbef8ed17810ee00c26af8cfb76130cd5af799e (diff)
downloadChibiOS-Contrib-c63d6a590810570aa1dfec2d07f5bac1f8d698ad.tar.gz
ChibiOS-Contrib-c63d6a590810570aa1dfec2d07f5bac1f8d698ad.tar.bz2
ChibiOS-Contrib-c63d6a590810570aa1dfec2d07f5bac1f8d698ad.zip
[KINETIS] Add remaining demos and fix configs
Diffstat (limited to 'demos/KINETIS/RT-FREEDOM-K20D50M')
-rw-r--r--demos/KINETIS/RT-FREEDOM-K20D50M/chconf.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M/chconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M/chconf.h
index 30b43a9..1eaf053 100644
--- a/demos/KINETIS/RT-FREEDOM-K20D50M/chconf.h
+++ b/demos/KINETIS/RT-FREEDOM-K20D50M/chconf.h
@@ -362,9 +362,16 @@
* @details If enabled then the context switch circular trace buffer is
* activated.
*
- * @note The default is @p FALSE.
+ * @note The default is @p CH_DBG_TRACE_MASK_NONE.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_NONE
+
+/**
+ * @brief Trace buffer entries.
+ * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is
+ * different from @p CH_DBG_TRACE_MASK_NONE.
*/
-#define CH_DBG_ENABLE_TRACE FALSE
+#define CH_DBG_TRACE_BUFFER_SIZE 128
/**
* @brief Debug option, stack checks.
@@ -467,6 +474,7 @@
* @note This macro can be used to activate a power saving mode.
*/
#define CH_CFG_IDLE_ENTER_HOOK() { \
+ /* Idle-enter code here.*/ \
}
/**
@@ -476,6 +484,7 @@
* @note This macro can be used to deactivate a power saving mode.
*/
#define CH_CFG_IDLE_LEAVE_HOOK() { \
+ /* Idle-leave code here.*/ \
}
/**