aboutsummaryrefslogtreecommitdiffstats
path: root/src/glutt-o-logique/FreeRTOSConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glutt-o-logique/FreeRTOSConfig.h')
-rw-r--r--src/glutt-o-logique/FreeRTOSConfig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/glutt-o-logique/FreeRTOSConfig.h b/src/glutt-o-logique/FreeRTOSConfig.h
index a6ff6f3..5a799e9 100644
--- a/src/glutt-o-logique/FreeRTOSConfig.h
+++ b/src/glutt-o-logique/FreeRTOSConfig.h
@@ -1,3 +1,13 @@
#include "../common/src/Core/FreeRTOSConfig.h"
#define configCHECK_FOR_STACK_OVERFLOW 2 // Default: 2
+
+#if defined(configGENERATE_RUN_TIME_STATS)
+#undef configGENERATE_RUN_TIME_STATS
+#endif
+#define configGENERATE_RUN_TIME_STATS 0
+
+#if configGENERATE_RUN_TIME_STATS
+#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() vConfigureTimerForRunTimeStats()
+#define portGET_RUN_TIME_COUNTER_VALUE() vGetTimerForRunTimeStats()
+#endif