From 611e0ff7684818949f7f18546b540ff55de9b8ce Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Sun, 26 Mar 2023 14:53:34 +0200 Subject: Enable malloc error and stack overflow error detection in FreeRTOS. Count them and display them in the SystemInfo app. --- src/FreeRTOSConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FreeRTOSConfig.h') 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 -- cgit v1.2.3-70-g09d2