diff options
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/chconf.h | 2 | ||||
-rw-r--r-- | os/rt/include/chvt.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h index 6307b1055..6ee0bd743 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h +++ b/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h @@ -441,7 +441,7 @@ * tickless mode.
*/
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
-#define CH_DBG_THREADS_PROFILING TRUE
+#define CH_DBG_THREADS_PROFILING FALSE
#endif
/** @} */
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index ae1aee316..d4948f1d6 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -50,7 +50,11 @@ #endif
#if (CH_CFG_TIMEDELTA > 0) && (CH_CFG_TIME_QUANTUM > 0)
-#error "(CH_CFG_TIMEDELTA > 0) is not compatible with (CH_CFG_TIME_QUANTUM > 0)"
+#error "CH_CFG_TIME_QUANTUM not supported in tickless mode"
+#endif
+
+#if (CH_CFG_TIMEDELTA > 0) && CH_DBG_THREADS_PROFILING
+#error "CH_DBG_THREADS_PROFILING not supported in tickless mode"
#endif
/*===========================================================================*/
|