Skip to content

Commit ae5d69a

Browse files
committed
Merged in f5soh/librepilot/LP-600_Ibus10ch_stack_alarm (pull request #515)
LP-600 Increase SYSTEM and DIAG_TASKS stack size Approved-by: Lalanne Laurent <f5soh@free.fr>
2 parents 230d770 + 8d2acc6 commit ae5d69a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

flight/targets/boards/coptercontrol/firmware/inc/pios_config.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@
161161
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD 1995998
162162

163163
/* Alarm Thresholds */
164-
#define HEAP_LIMIT_WARNING 220
165164
#define HEAP_LIMIT_CRITICAL 40
166165
#define IRQSTACK_LIMIT_WARNING 100
167166
#define IRQSTACK_LIMIT_CRITICAL 60
@@ -175,10 +174,13 @@
175174
#define PIOS_STABILIZATION_STACK_SIZE 400
176175

177176
#ifdef DIAG_TASKS
178-
#define PIOS_SYSTEM_STACK_SIZE 760
177+
#define PIOS_SYSTEM_STACK_SIZE 880
178+
#define HEAP_LIMIT_WARNING 150
179179
#else
180-
#define PIOS_SYSTEM_STACK_SIZE 660
180+
#define PIOS_SYSTEM_STACK_SIZE 700
181+
#define HEAP_LIMIT_WARNING 220
181182
#endif
183+
182184
#define PIOS_TELEM_RX_STACK_SIZE 410
183185
#define PIOS_TELEM_TX_STACK_SIZE 560
184186
#define PIOS_EVENTDISPATCHER_STACK_SIZE 95

0 commit comments

Comments
 (0)