diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-04-03 23:05:28 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-04-03 23:05:28 -0300 |
commit | 7e7670b4f849b1c48527bf2b6162754e31e1ce36 (patch) | |
tree | 3cd7e3b73854954569aa42c0d476830df1c2fb71 /demos | |
parent | 5d51514cf3aab3ba6ecf72cdc390472989a67763 (diff) | |
download | ChibiOS-Contrib-7e7670b4f849b1c48527bf2b6162754e31e1ce36.tar.gz ChibiOS-Contrib-7e7670b4f849b1c48527bf2b6162754e31e1ce36.tar.bz2 ChibiOS-Contrib-7e7670b4f849b1c48527bf2b6162754e31e1ce36.zip |
Add new chconf parameters
Diffstat (limited to 'demos')
-rw-r--r-- | demos/NRF51/RT-WVSHARE_BLE400/chconf.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/chconf.h b/demos/NRF51/RT-WVSHARE_BLE400/chconf.h index fc9a52b..a753ec9 100644 --- a/demos/NRF51/RT-WVSHARE_BLE400/chconf.h +++ b/demos/NRF51/RT-WVSHARE_BLE400/chconf.h @@ -28,6 +28,8 @@ #ifndef _CHCONF_H_
#define _CHCONF_H_
+#define _CHIBIOS_RT_CONF_
+
/*===========================================================================*/
/**
* @name System timers settings
@@ -445,6 +447,20 @@ }
/**
+ * @brief ISR enter hook.
+ */
+#define CH_CFG_IRQ_PROLOGUE_HOOK() { \
+ /* IRQ prologue code here.*/ \
+}
+
+/**
+ * @brief ISR exit hook.
+ */
+#define CH_CFG_IRQ_EPILOGUE_HOOK() { \
+ /* IRQ epilogue code here.*/ \
+}
+
+/**
* @brief Idle thread enter hook.
* @note This hook is invoked within a critical zone, no OS functions
* should be invoked from here.
@@ -488,6 +504,15 @@ /* System halt code here.*/ \
}
+/**
+ * @brief Trace hook.
+ * @details This hook is invoked each time a new record is written in the
+ * trace buffer.
+ */
+#define CH_CFG_TRACE_HOOK(tep) { \
+ /* Trace code here.*/ \
+}
+
/** @} */
/*===========================================================================*/
|