1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Memory: Also allow overriding Stabilization stack size

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2690 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-02-02 08:57:34 +00:00 committed by peabody124
parent c33fa63581
commit cf2e9fb349
6 changed files with 11 additions and 4 deletions

View File

@ -77,6 +77,8 @@
#define PIOS_ACTUATOR_STACK_SIZE 992
#define PIOS_MANUAL_STACK_SIZE 624
#define PIOS_SYSTEM_STACK_SIZE 624
#define PIOS_STABILIZATION_STACK_SIZE 524
#define PIOS_TELEM_STACK_SIZE 500
#endif /* PIOS_CONFIG_H */
/**

View File

@ -45,7 +45,13 @@
// Private constants
#define MAX_QUEUE_SIZE 1
#if defined(PIOS_STABILIZATION_STACK_SIZE)
#define STACK_SIZE_BYTES PIOS_STABILIZATION_STACK_SIZE
#else
#define STACK_SIZE_BYTES 724
#endif
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
#define FAILSAFE_TIMEOUT_MS 30

View File

@ -37,7 +37,7 @@
// Private constants
#define MAX_QUEUE_SIZE TELEM_QUEUE_SIZE
#define STACK_SIZE_BYTES TELEM_STACK_SIZE
#define STACK_SIZE_BYTES PIOS_TELEM_STACK_SIZE
#define TASK_PRIORITY_RX (tskIDLE_PRIORITY + 2)
#define TASK_PRIORITY_TX (tskIDLE_PRIORITY + 2)
#define TASK_PRIORITY_TXPRI (tskIDLE_PRIORITY + 2)

View File

@ -51,5 +51,5 @@
#define AUXUART_BAUDRATE 19200
#define TELEM_QUEUE_SIZE 20
#define TELEM_STACK_SIZE 2048
#define PIOS_TELEM_STACK_SIZE 2048
#endif /* PIOS_CONFIG_POSIX_H */

View File

@ -96,7 +96,6 @@ TIM4 | RC In 1 | Servo 3 | Servo 2 | Servo 1
// TELEMETRY
//------------------------
#define TELEM_QUEUE_SIZE 5
#define TELEM_STACK_SIZE 450
//------------------------
// PIOS_LED

View File

@ -105,7 +105,7 @@ TIM8 | Servo 5 | Servo 6 | Servo 7 | Servo 8
// TELEMETRY
//------------------------
#define TELEM_QUEUE_SIZE 20
#define TELEM_STACK_SIZE 624
#define PIOS_TELEM_STACK_SIZE 624
//------------------------
// PIOS_LED