diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-04-04 21:35:11 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-04-04 21:35:11 -0300 |
commit | 653c72ccc3c8ff29bb2f2cffa00d1898c96c8ecf (patch) | |
tree | 603b134b8ff03b4d85c81082c0f6a177c8d0ed41 /demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h | |
parent | 031d81ae18328625fef4f8a578648d9de3b869b0 (diff) | |
download | ChibiOS-Contrib-653c72ccc3c8ff29bb2f2cffa00d1898c96c8ecf.tar.gz ChibiOS-Contrib-653c72ccc3c8ff29bb2f2cffa00d1898c96c8ecf.tar.bz2 ChibiOS-Contrib-653c72ccc3c8ff29bb2f2cffa00d1898c96c8ecf.zip |
Fix tiva demos
Diffstat (limited to 'demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h')
-rw-r--r-- | demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h b/demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h index 25b16cc..5e7c63d 100644 --- a/demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h +++ b/demos/TIVA/RT-TM4C123G-LAUNCHPAD/chconf.h @@ -1,6 +1,8 @@ #ifndef _CHCONF_H_ #define _CHCONF_H_ +#define _CHIBIOS_RT_CONF_ + /*===========================================================================*/ /** * @name System timers settings @@ -414,6 +416,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. @@ -457,6 +473,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.*/ \ +} + /** @} */ /*===========================================================================*/ |