mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 17:47:10 -06:00
* Added led-blinker workflow for aarch64-linux platform * Update runner label * Added Tags to RPI self hosted workflows, sparse-checkout-cone-mode false * Add subtopologies to Svc/ restructing of Ref to include CDH subtopology * CDHCore Subtopology added under Svc and integrated into Ref * Health instance within CDHCore references CDHCoreConfig for queue size * Update metadata check-spelling run (push) for add-subtopologies Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Added AssertFatalAdapter Version PassiveTextLogger to Subtopology, config clarity improvements * Comms subtopology without cmdSeq created, integrated in Ref * Added cmdSeq to Comms Subtopology, integrated into Ref * Add FileHandling Subtopology, initial structure * Fixed Spelling, Flie -> File * Update metadata check-spelling run (push) for add-subtopologies Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Added working FileHandling, DataProducts subtopology, integrated into Ref * prmDb part of FileHandling, fatalHandler part of CDHCore * Update metadata check-spelling run (push) for add-subtopologies Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Update comment for clarity * Initial move to phasing components * Fixing Phasing: Adding initial Phasing for CDHCore, DataProducts, FileHandling * Renaming topologydefs.hpp, phasing fully working on all four subtopologies, needs cleaning up * Cleanup with Ports_ComPacketQueue, definition only in Comms.fpp now * Base project with all 4 subtopologies, integrated into Ref, and passing CI * Initial Commit with all Subtopologies in Svc/Subtopologies * Added posixtime back in to Ref Deployment (Accidentally Deleted) * Updates to match new subtopology structure, integrate CCSDS into Ref * Changes to CommCCSDS that go with last changes * Standardize subtopology structure and naming to PascalCase * Namespace fixe for ComFprime * CDHCore->Cdhcore for consistency * Rename CDHCore to CdhCore for consistency * Update metadata check-spelling run (pull_request_target) for add-subtopologies Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> * Reorder on teardown phases for Com Subtopolgies * Cpp check style fix * Fix: Add missing tearDownComponents cleanup for DataProducts dpBufferManager * Delete old comments, test using same mallocator for all subtopologies * fix: Deallocated DataProducts BufferMgr * Fix DataProducts subtopology memory cleanup * Fix: Dataproducts subtopology teardown order * Added tearDownComponents(state) * Consolidate all cleanup to teardowncomponents * Fix memory leaks: restore teardown phases * Removal of redundant teardowncomponents() * Revert "Removal of redundant teardowncomponents()" This reverts commit 29d4ff8242574f1afc1bb6aacdf5cfef4d79987d. * Fix formatting, remove commented out code * Swap hardcoded numbers to config constants in subtopologies * register_fprime_config() in config modules, isolated ComDriver into a separate config fpp file * Added explicit CMake Module Names and Depends between Subtopologies and their Configs * Fixed CCSDS case, more config constants * Added explicit depends for each subtopology config * added mallocator config, subtopology state structure * Update subtopology config names for clarity, fixes #3571 * Fix reference to dpBuffer config Constants --------- Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> Co-authored-by: Moises Mata <moisesmata@users.noreply.github.com>
57 lines
2.1 KiB
Fortran
57 lines
2.1 KiB
Fortran
module FileHandling {
|
|
|
|
enum Ports_ComBufferQueue {
|
|
FILE_DOWNLINK
|
|
}
|
|
|
|
# ----------------------------------------------------------------------
|
|
# Active Components
|
|
# ----------------------------------------------------------------------
|
|
instance fileUplink: Svc.FileUplink base id FileHandlingConfig.BASE_ID + 0x0100 \
|
|
queue size FileHandlingConfig.QueueSizes.fileUplink \
|
|
stack size FileHandlingConfig.StackSizes.fileUplink \
|
|
priority FileHandlingConfig.Priorities.fileUplink
|
|
|
|
instance fileDownlink: Svc.FileDownlink base id FileHandlingConfig.BASE_ID + 0x0200 \
|
|
queue size FileHandlingConfig.QueueSizes.fileDownlink \
|
|
stack size FileHandlingConfig.StackSizes.fileDownlink \
|
|
priority FileHandlingConfig.Priorities.fileDownlink \
|
|
{
|
|
phase Fpp.ToCpp.Phases.configComponents """
|
|
FileHandling::fileDownlink.configure(
|
|
FileHandlingConfig::DownlinkConfig::timeout,
|
|
FileHandlingConfig::DownlinkConfig::cooldown,
|
|
FileHandlingConfig::DownlinkConfig::cycleTime,
|
|
FileHandlingConfig::DownlinkConfig::fileQueueDepth
|
|
);
|
|
"""
|
|
}
|
|
|
|
instance fileManager: Svc.FileManager base id FileHandlingConfig.BASE_ID + 0x0300 \
|
|
queue size FileHandlingConfig.QueueSizes.fileManager \
|
|
stack size FileHandlingConfig.StackSizes.fileManager \
|
|
priority FileHandlingConfig.Priorities.fileManager
|
|
|
|
instance prmDb: Svc.PrmDb base id FileHandlingConfig.BASE_ID + 0x0400 \
|
|
queue size FileHandlingConfig.QueueSizes.prmDb \
|
|
stack size FileHandlingConfig.StackSizes.prmDb \
|
|
priority FileHandlingConfig.Priorities.prmDb \
|
|
{
|
|
phase Fpp.ToCpp.Phases.configComponents """
|
|
FileHandling::prmDb.configure("PrmDb.dat");
|
|
"""
|
|
phase Fpp.ToCpp.Phases.readParameters """
|
|
FileHandling::prmDb.readParamFile();
|
|
"""
|
|
}
|
|
|
|
topology Subtopology {
|
|
#Active Components
|
|
instance fileUplink
|
|
instance fileDownlink
|
|
instance fileManager
|
|
instance prmDb
|
|
|
|
} # end topology
|
|
} # end FileHandling Subtopology
|