mirror of
https://github.com/nasa/fprime-tools.git
synced 2025-12-11 04:39:09 -06:00
Adjust task priorities to fit in supported platforms' priority ranges (#292)
* Adjust task priorities to fit in supported platforms' priority ranges Darwin's task priority range is most restrictive (15-47); adjusted priorities to reside within that range. * Adjust relative task priorities for uplink and downlink This keeps the cookie-cutters consistent with the analogous change in fprime.
This commit is contained in:
parent
33d61bad50
commit
f49f26315b
@ -29,22 +29,22 @@ module {{cookiecutter.deployment_name}} {
|
|||||||
instance rateGroup1: Svc.ActiveRateGroup base id 0x10001000 \
|
instance rateGroup1: Svc.ActiveRateGroup base id 0x10001000 \
|
||||||
queue size Default.QUEUE_SIZE \
|
queue size Default.QUEUE_SIZE \
|
||||||
stack size Default.STACK_SIZE \
|
stack size Default.STACK_SIZE \
|
||||||
priority 120
|
priority 43
|
||||||
|
|
||||||
instance rateGroup2: Svc.ActiveRateGroup base id 0x10002000 \
|
instance rateGroup2: Svc.ActiveRateGroup base id 0x10002000 \
|
||||||
queue size Default.QUEUE_SIZE \
|
queue size Default.QUEUE_SIZE \
|
||||||
stack size Default.STACK_SIZE \
|
stack size Default.STACK_SIZE \
|
||||||
priority 119
|
priority 42
|
||||||
|
|
||||||
instance rateGroup3: Svc.ActiveRateGroup base id 0x10003000 \
|
instance rateGroup3: Svc.ActiveRateGroup base id 0x10003000 \
|
||||||
queue size Default.QUEUE_SIZE \
|
queue size Default.QUEUE_SIZE \
|
||||||
stack size Default.STACK_SIZE \
|
stack size Default.STACK_SIZE \
|
||||||
priority 118
|
priority 41
|
||||||
|
|
||||||
instance cmdSeq: Svc.CmdSequencer base id 0x10004000 \
|
instance cmdSeq: Svc.CmdSequencer base id 0x10004000 \
|
||||||
queue size Default.QUEUE_SIZE \
|
queue size Default.QUEUE_SIZE \
|
||||||
stack size Default.STACK_SIZE \
|
stack size Default.STACK_SIZE \
|
||||||
priority 117
|
priority 40
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Queued component instances
|
# Queued component instances
|
||||||
|
|||||||
@ -27,7 +27,7 @@ U32 rateGroup2Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {};
|
|||||||
U32 rateGroup3Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {};
|
U32 rateGroup3Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {};
|
||||||
|
|
||||||
enum TopologyConstants {
|
enum TopologyConstants {
|
||||||
COMM_PRIORITY = 100,
|
COMM_PRIORITY = 34,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -17,7 +17,7 @@ module {{cookiecutter.subtopology_name}}Config {
|
|||||||
# Priorities for active components
|
# Priorities for active components
|
||||||
module Priorities {
|
module Priorities {
|
||||||
# Add your component priorities here. For example:
|
# Add your component priorities here. For example:
|
||||||
# constant myComponent = 100
|
# constant myComponent = 23
|
||||||
}
|
}
|
||||||
|
|
||||||
# Additional configuration modules can be added here as needed
|
# Additional configuration modules can be added here as needed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user