mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* 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. * Add comment clarifying TASK_PRIORITY_DEFAULT and TASK_DEFAULT * Adjust relative task priorities for uplink and downlink This moves uplink tasks to higher priority than downlink tasks and places consumer tasks at higher priority than producer tasks.
40 lines
1.0 KiB
Fortran
40 lines
1.0 KiB
Fortran
module DataProductsConfig {
|
|
#Base ID for the DataProducts Subtopology, all components are offsets from this base ID
|
|
constant BASE_ID = 0x04000000
|
|
|
|
module QueueSizes {
|
|
constant dpCat = 10
|
|
constant dpMgr = 10
|
|
constant dpWriter = 10
|
|
constant dpBufferManager = 10
|
|
}
|
|
|
|
|
|
module StackSizes {
|
|
constant dpCat = 64 * 1024
|
|
constant dpMgr = 64 * 1024
|
|
constant dpWriter = 64 * 1024
|
|
constant dpBufferManager = 64 * 1024
|
|
}
|
|
|
|
module Priorities {
|
|
constant dpCat = 24
|
|
constant dpMgr = 23
|
|
constant dpWriter = 22
|
|
constant dpBufferManager = 21
|
|
}
|
|
|
|
# Buffer management constants
|
|
module BuffMgr {
|
|
constant dpBufferStoreSize = 10000
|
|
constant dpBufferStoreCount = 10
|
|
constant dpBufferManagerId = 300
|
|
}
|
|
|
|
# Directory and file paths
|
|
module Paths {
|
|
constant dpDir = "./DpCat"
|
|
constant dpState = "./DpCat/DpState.dat"
|
|
}
|
|
}
|