mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Telemetry: Move the telem stack size to the board definition file since CC
needs less git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2659 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
c9207b3754
commit
1d2ad6e9cb
@ -36,8 +36,8 @@
|
||||
#include "telemetrysettings.h"
|
||||
|
||||
// Private constants
|
||||
#define MAX_QUEUE_SIZE 20
|
||||
#define STACK_SIZE_BYTES 624
|
||||
#define MAX_QUEUE_SIZE TELEM_QUEUE_SIZE /*20*/
|
||||
#define STACK_SIZE_BYTES TELEM_STACK_SIZE /*624*/
|
||||
#define TASK_PRIORITY_RX (tskIDLE_PRIORITY + 2)
|
||||
#define TASK_PRIORITY_TX (tskIDLE_PRIORITY + 2)
|
||||
#define TASK_PRIORITY_TXPRI (tskIDLE_PRIORITY + 2)
|
||||
|
@ -92,6 +92,12 @@ TIM4 | RC In 1 | Servo 3 | Servo 2 | Servo 1
|
||||
#define PIOS_WDG_ATTITUDE 0x0004
|
||||
#define PIOS_WDG_MANUAL 0x0008
|
||||
|
||||
//------------------------
|
||||
// TELEMETRY
|
||||
//------------------------
|
||||
#define TELEM_QUEUE_SIZE 5
|
||||
#define TELEM_STACK_SIZE 450
|
||||
|
||||
//------------------------
|
||||
// PIOS_LED
|
||||
//------------------------
|
||||
|
@ -101,6 +101,12 @@ TIM8 | Servo 5 | Servo 6 | Servo 7 | Servo 8
|
||||
#define PIOS_WDG_AHRS 0x0004
|
||||
#define PIOS_WDG_MANUAL 0x0008
|
||||
|
||||
//------------------------
|
||||
// TELEMETRY
|
||||
//------------------------
|
||||
#define TELEM_QUEUE_SIZE 20
|
||||
#define TELEM_STACK_SIZE 624
|
||||
|
||||
//------------------------
|
||||
// PIOS_LED
|
||||
//------------------------
|
||||
|
@ -2678,10 +2678,10 @@
|
||||
65C35EA612F0A834004811C2 /* uavobjecttemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = uavobjecttemplate.h; sourceTree = "<group>"; };
|
||||
65C35EA712F0A834004811C2 /* utlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = utlist.h; sourceTree = "<group>"; };
|
||||
65C35EA812F0A834004811C2 /* eventdispatcher.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = eventdispatcher.c; sourceTree = "<group>"; };
|
||||
65C35F6612F0DC2D004811C2 /* attitude.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = attitude.c; sourceTree = "<group>"; };
|
||||
65C35F6812F0DC2D004811C2 /* attitude.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = attitude.h; sourceTree = "<group>"; };
|
||||
65D2CA841248F9A400B1E7D6 /* mixersettings.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = mixersettings.xml; sourceTree = "<group>"; };
|
||||
65D2CA851248F9A400B1E7D6 /* mixerstatus.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = mixerstatus.xml; sourceTree = "<group>"; };
|
||||
65E6DF6812E02BA300058553 /* ccattitude.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ccattitude.c; sourceTree = "<group>"; };
|
||||
65E6DF6A12E02BA300058553 /* ccattitude.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccattitude.h; sourceTree = "<group>"; };
|
||||
65E6DF7112E02E8E00058553 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
|
||||
65E6DF7312E02E8E00058553 /* alarms.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = alarms.c; sourceTree = "<group>"; };
|
||||
65E6DF7412E02E8E00058553 /* coptercontrol.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = coptercontrol.c; sourceTree = "<group>"; };
|
||||
@ -3143,9 +3143,8 @@
|
||||
650D8E2012DFE16400D05CC9 /* Actuator */,
|
||||
650D8E2412DFE16400D05CC9 /* AHRSComms */,
|
||||
650D8E2812DFE16400D05CC9 /* Altitude */,
|
||||
650D8E2C12DFE16400D05CC9 /* Attitude */,
|
||||
65C35F6512F0DC2D004811C2 /* Attitude */,
|
||||
650D8E2E12DFE16400D05CC9 /* Battery */,
|
||||
65E6DF6712E02BA300058553 /* CCAttitude */,
|
||||
650D8E3212DFE16400D05CC9 /* Example */,
|
||||
650D8E3B12DFE16400D05CC9 /* FirmwareIAP */,
|
||||
650D8E3F12DFE16400D05CC9 /* FlightPlan */,
|
||||
@ -3213,21 +3212,6 @@
|
||||
path = inc;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
650D8E2C12DFE16400D05CC9 /* Attitude */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
650D8E2D12DFE16400D05CC9 /* inc */,
|
||||
);
|
||||
path = Attitude;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
650D8E2D12DFE16400D05CC9 /* inc */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
);
|
||||
path = inc;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
650D8E2E12DFE16400D05CC9 /* Battery */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -7431,19 +7415,19 @@
|
||||
path = inc;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
65E6DF6712E02BA300058553 /* CCAttitude */ = {
|
||||
65C35F6512F0DC2D004811C2 /* Attitude */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
65E6DF6812E02BA300058553 /* ccattitude.c */,
|
||||
65E6DF6912E02BA300058553 /* inc */,
|
||||
65C35F6612F0DC2D004811C2 /* attitude.c */,
|
||||
65C35F6712F0DC2D004811C2 /* inc */,
|
||||
);
|
||||
path = CCAttitude;
|
||||
path = Attitude;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
65E6DF6912E02BA300058553 /* inc */ = {
|
||||
65C35F6712F0DC2D004811C2 /* inc */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
65E6DF6A12E02BA300058553 /* ccattitude.h */,
|
||||
65C35F6812F0DC2D004811C2 /* attitude.h */,
|
||||
);
|
||||
path = inc;
|
||||
sourceTree = "<group>";
|
||||
|
Loading…
Reference in New Issue
Block a user