mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
For OpenPilot use the minimal stack size (512 words) for eventdispatcher as
this is necessary for object saving. Creating a new define to override this for CopterControl down to 96.
This commit is contained in:
parent
557771d3ef
commit
15a2b85729
@ -97,7 +97,7 @@
|
|||||||
#define PIOS_SYSTEM_STACK_SIZE 560
|
#define PIOS_SYSTEM_STACK_SIZE 560
|
||||||
#define PIOS_STABILIZATION_STACK_SIZE 524
|
#define PIOS_STABILIZATION_STACK_SIZE 524
|
||||||
#define PIOS_TELEM_STACK_SIZE 500
|
#define PIOS_TELEM_STACK_SIZE 500
|
||||||
|
#define PIOS_EVENTDISPATCHER_STACK_SIZE 96
|
||||||
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD 1995998
|
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD 1995998
|
||||||
//#define PIOS_QUATERNION_STABILIZATION
|
//#define PIOS_QUATERNION_STABILIZATION
|
||||||
|
|
||||||
|
@ -28,7 +28,13 @@
|
|||||||
|
|
||||||
// Private constants
|
// Private constants
|
||||||
#define MAX_QUEUE_SIZE 20
|
#define MAX_QUEUE_SIZE 20
|
||||||
#define STACK_SIZE 96
|
|
||||||
|
#if defined(PIOS_EVENTDISPATCHER_STACK_SIZE)
|
||||||
|
#define STACK_SIZE PIOS_EVENTDISPATCHER_STACK_SIZE
|
||||||
|
#else
|
||||||
|
#define STACK_SIZE configMINIMAL_STACK_SIZE
|
||||||
|
#endif /* PIOS_EVENTDISPATCHER_STACK_SIZE */
|
||||||
|
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
|
||||||
#define MAX_UPDATE_PERIOD_MS 1000
|
#define MAX_UPDATE_PERIOD_MS 1000
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user