aboutsummaryrefslogtreecommitdiffstats
path: root/src/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-03-26 14:53:34 +0200
committerJF <JF002@users.noreply.github.com>2023-05-18 19:58:09 +0200
commit611e0ff7684818949f7f18546b540ff55de9b8ce (patch)
tree250ed0efe624fdc7992b27d6ab40ed5092d6bc87 /src/FreeRTOSConfig.h
parent1911e2d9285cb5b0a6ecd3bf3de864783f2b0e3e (diff)
Enable malloc error and stack overflow error detection in FreeRTOS. Count them and display them in the SystemInfo app.
Diffstat (limited to 'src/FreeRTOSConfig.h')
-rw-r--r--src/FreeRTOSConfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FreeRTOSConfig.h b/src/FreeRTOSConfig.h
index ab0cf1ba..cf18f418 100644
--- a/src/FreeRTOSConfig.h
+++ b/src/FreeRTOSConfig.h
@@ -79,8 +79,8 @@
/* Hook function related definitions. */
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
-#define configCHECK_FOR_STACK_OVERFLOW 0
-#define configUSE_MALLOC_FAILED_HOOK 0
+#define configCHECK_FOR_STACK_OVERFLOW 1
+#define configUSE_MALLOC_FAILED_HOOK 1
/* Run time and task stats gathering related definitions. */
#define configGENERATE_RUN_TIME_STATS 0