diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-24 07:59:12 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-24 07:59:12 +0000 |
commit | d447fd6ceeda74abded59704247d259e0f710fff (patch) | |
tree | f79ba4c58ef8675980151b15698a7ee937dac612 /os/rt/include/chschd.h | |
parent | 972c282b7fc8b1458326616180d414c708ae3691 (diff) | |
download | ChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.tar.gz ChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.tar.bz2 ChibiOS-d447fd6ceeda74abded59704247d259e0f710fff.zip |
New hooks added to RT, stronger checks on RT chconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11071 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chschd.h')
-rw-r--r-- | os/rt/include/chschd.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index 9d3b5dd4e..f62f6d709 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -114,18 +114,6 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if !defined(CH_CFG_IDLE_ENTER_HOOK)
-#error "CH_CFG_IDLE_ENTER_HOOK not defined in chconf.h"
-#endif
-
-#if !defined(CH_CFG_IDLE_LEAVE_HOOK)
-#error "CH_CFG_IDLE_LEAVE_HOOK not defined in chconf.h"
-#endif
-
-#if !defined(CH_CFG_IDLE_LOOP_HOOK)
-#error "CH_CFG_IDLE_LOOP_HOOK not defined in chconf.h"
-#endif
-
/*===========================================================================*/
/* Module data structures and types. */
/*===========================================================================*/
@@ -438,6 +426,7 @@ struct ch_system { */
kernel_stats_t kernel_stats;
#endif
+ CH_CFG_SYSTEM_EXTRA_FIELDS
};
/*===========================================================================*/
|