mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 17:47:10 -06:00
* Modify Com/Ccsds/Fprime ComDriverConfig & TopologyDefs for easier ComDriver config * Fix BaseID collision * Removed restrict platform, UART/TCP driver configs different files, CMake switch depending on FPRIME_HAS_SOCKETS * Add Exclude_FROM_ALL to all subtopology cmake modules * remove exclude from ComCcsds (needed for Ref) * Remove exclude from all for testing * Exclude_from_all only on comLoggerTee, comFprime (not used in Ref) * Added Svc_Subtopologies target * Use add_custom_target, spelling fix * Add Configs to Svc_Subtopologies target * Removed comDriver as instance within subtopologies, now within project topology * Take out cmdSeq from ComSubtopologies, put in FileHandling * Added Subtopology States for all, common pattern users can follow * Fix Extra newline * Moved Phased comDriver code into RefTopology.cpp * Update metadata check-spelling run (pull_request_target) for subtopology-config-phasing-updates Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Fixed call to default stack size * Moved cmdSeq from FileHandling subtopology to Ref Root Topology * Fix integration test * Remove unneeded Os includes in RefTopology.cpp * Fix BaseIds * Add comment for BaseIDs, comDriver configuration order fix * Restructure of enums within Com Subtopologies * Correct include for ComCcsds enum headers * Using namespace syntax change * Fix BaseIds * Update metadata check-spelling run (pull_request_target) for subtopology-config-phasing-updates Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Remove unneeded Dependency * Add enum at the top * Fix RefTopology.cpp * Update Comment --------- Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> Co-authored-by: Moises Mata <moisesmata@users.noreply.github.com>
40 lines
1.1 KiB
Fortran
40 lines
1.1 KiB
Fortran
module ComCcsdsConfig {
|
|
#Base ID for the ComCcsds Subtopology, all components are offsets from this base ID
|
|
constant BASE_ID = 0x02000000
|
|
|
|
module QueueSizes {
|
|
constant comQueue = 50
|
|
}
|
|
|
|
module StackSizes {
|
|
constant comQueue = 64 * 1024
|
|
}
|
|
|
|
module Priorities {
|
|
constant comQueue = 101
|
|
}
|
|
|
|
# Queue configuration constants
|
|
module QueueDepths {
|
|
constant events = 100
|
|
constant tlm = 500
|
|
constant file = 100
|
|
}
|
|
|
|
module QueuePriorities {
|
|
constant events = 0
|
|
constant tlm = 2
|
|
constant file = 1
|
|
}
|
|
|
|
# Buffer management constants
|
|
module BuffMgr {
|
|
constant frameAccumulatorSize = 2048
|
|
constant commsBuffSize = 2048
|
|
constant commsFileBuffSize = 3000
|
|
constant commsBuffCount = 20
|
|
constant commsFileBuffCount = 30
|
|
constant commsBuffMgrId = 200
|
|
}
|
|
}
|