diff options
Diffstat (limited to 'os/rt/ports/ARMCMx')
-rw-r--r-- | os/rt/ports/ARMCMx/chcore.h | 6 | ||||
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v6m.h | 4 | ||||
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v7m.h | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/os/rt/ports/ARMCMx/chcore.h b/os/rt/ports/ARMCMx/chcore.h index c2eb68078..9274b6d1d 100644 --- a/os/rt/ports/ARMCMx/chcore.h +++ b/os/rt/ports/ARMCMx/chcore.h @@ -196,6 +196,12 @@ struct port_intctx {}; #include "chcore_v7m.h"
#endif
+#if !defined(_FROM_ASM_)
+#if CH_CFG_TIMEDELTA > 0
+#include "chcore_timer.h"
+#endif
+#endif /* !defined(_FROM_ASM_) */
+
#endif /* _CHCORE_H_ */
/** @} */
diff --git a/os/rt/ports/ARMCMx/chcore_v6m.h b/os/rt/ports/ARMCMx/chcore_v6m.h index fc53c0202..7cba6df34 100644 --- a/os/rt/ports/ARMCMx/chcore_v6m.h +++ b/os/rt/ports/ARMCMx/chcore_v6m.h @@ -286,10 +286,6 @@ extern "C" { }
#endif
-#if CH_CFG_TIMEDELTA > 0
-#include "chcore_timer.h"
-#endif
-
/*===========================================================================*/
/* Module inline functions. */
/*===========================================================================*/
diff --git a/os/rt/ports/ARMCMx/chcore_v7m.h b/os/rt/ports/ARMCMx/chcore_v7m.h index c802a980d..3c5947557 100644 --- a/os/rt/ports/ARMCMx/chcore_v7m.h +++ b/os/rt/ports/ARMCMx/chcore_v7m.h @@ -383,10 +383,6 @@ extern "C" { }
#endif
-#if CH_CFG_TIMEDELTA > 0
-#include "chcore_timer.h"
-#endif
-
/*===========================================================================*/
/* Module inline functions. */
/*===========================================================================*/
|