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/main.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 2ff32b8f..4475dc8b 100644 --- a/src/main.h +++ b/src/main.h @@ -5,4 +5,7 @@ #include void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action); -void DebounceTimerCallback(TimerHandle_t xTimer); \ No newline at end of file +void DebounceTimerCallback(TimerHandle_t xTimer); + +extern int mallocFailedCount; +extern int stackOverflowCount; \ No newline at end of file -- cgit v1.2.3-70-g09d2