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:
parent
c33fa63581
commit
cf2e9fb349
@ -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 */
|
||||
/**
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user