mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-176 FreeRTOS task priorities a bit more sensible
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2357 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
85b7619617
commit
24c4e92b12
@ -55,7 +55,7 @@
|
||||
|
||||
// Private constants
|
||||
#define STACK_SIZE configMINIMAL_STACK_SIZE-128
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
|
||||
|
||||
// Private types
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
// Private constants
|
||||
#define STACK_SIZE_BYTES 500
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+3)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
|
||||
//#define UPDATE_PERIOD 100
|
||||
#define UPDATE_PERIOD 25
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
//
|
||||
#define DEBUG_PORT PIOS_COM_TELEM_RF
|
||||
#define STACK_SIZE 1024
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 1)
|
||||
#define SAMPLE_PERIOD_MS 500
|
||||
#define POWER_SENSOR_VERSION 1
|
||||
|
||||
|
@ -53,7 +53,7 @@ static void setHomeLocation(GPSPositionData * gpsData);
|
||||
// Private constants
|
||||
// Unfortunately need a good size stack for the WMM calculation
|
||||
#define STACK_SIZE_BYTES 1024
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY + 1)
|
||||
|
||||
// Private types
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
// Private constants
|
||||
#define STACK_SIZE_BYTES 824
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
|
||||
// Private types
|
||||
|
||||
// Private variables
|
||||
|
@ -53,7 +53,7 @@
|
||||
// must be updated if the FreeRTOS or compiler
|
||||
// optimisation options are changed.
|
||||
#define STACK_SIZE_BYTES 924
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+3)
|
||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
|
||||
|
||||
#define HEAP_LIMIT_WARNING 4000
|
||||
#define HEAP_LIMIT_CRITICAL 1000
|
||||
|
Loading…
x
Reference in New Issue
Block a user