mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Add sequence dispatcher component * Add seq start port to cmd sequencer * Update author names and some include paths * Get fully compiling, move consts/enums to correct places, check for connections on init * Add spelling exceptions * Get unit tests almost compiling... * Fix string type in port, call component init in test * Fix unit test compilation errors and assertions * Switch back to using StringBase * Switch to FwIndexType, remove textLogIn * UpperCamel events, add warning for unexpected seq start * remove init method, add check for connected to getNextAvailableIdx * Update sdd, change event from low to high, static cast a portnum * Add state diagram, add more warnings, fix wrong header types, use assert instead of warning for runSeq --------- Co-authored-by: Zimri Leisher <zimri.leisher@fireflyspace.com>
68 lines
2.2 KiB
Fortran
68 lines
2.2 KiB
Fortran
# ======================================================================
|
|
# AcConstants.fpp
|
|
# F Prime configuration constants
|
|
# ======================================================================
|
|
|
|
@ Number of rate group member output ports for ActiveRateGroup
|
|
constant ActiveRateGroupOutputPorts = 10
|
|
|
|
@ Number of rate group member output ports for PassiveRateGroup
|
|
constant PassiveRateGroupOutputPorts = 10
|
|
|
|
@ Used to drive rate groups
|
|
constant RateGroupDriverRateGroupPorts = 3
|
|
|
|
@ Used for command and registration ports
|
|
constant CmdDispatcherComponentCommandPorts = 30
|
|
|
|
@ Used for uplink/sequencer buffer/response ports
|
|
constant CmdDispatcherSequencePorts = 5
|
|
|
|
@ Used for dispatching sequences to command sequencers
|
|
constant SeqDispatcherSequencerPorts = 2
|
|
|
|
@ Used for sizing the command splitter input arrays
|
|
constant CmdSplitterPorts = CmdDispatcherSequencePorts
|
|
|
|
@ Number of static memory allocations
|
|
constant StaticMemoryAllocations = 4
|
|
|
|
@ Used to ping active components
|
|
constant HealthPingPorts = 25
|
|
|
|
@ Used for broadcasting completed file downlinks
|
|
constant FileDownCompletePorts = 1
|
|
|
|
@ Used for number of Fw::Com type ports supported by Svc::ComQueue
|
|
constant ComQueueComPorts = 2
|
|
|
|
@ Used for number of Fw::Buffer type ports supported by Svc::ComQueue
|
|
constant ComQueueBufferPorts = 1
|
|
|
|
@ Used for maximum number of connected buffer repeater consumers
|
|
constant BufferRepeaterOutputPorts = 10
|
|
|
|
@ Size of port array for DpManager
|
|
constant DpManagerNumPorts = 5
|
|
|
|
@ Size of processing port array for DpWriter
|
|
constant DpWriterNumProcPorts = 5
|
|
|
|
@ The size of a file name string
|
|
constant FileNameStringSize = 200
|
|
|
|
@ The size of a file name in an AssertFatalAdapter event
|
|
@ Note: File names in assertion failures are also truncated by
|
|
@ the constants FW_ASSERT_TEXT_SIZE and FW_LOG_STRING_MAX_SIZE, set
|
|
@ in FpConfig.h.
|
|
constant AssertFatalAdapterEventFileSize = FileNameStringSize
|
|
|
|
# ----------------------------------------------------------------------
|
|
# Hub connections. Connections on all deployments should mirror these settings.
|
|
# ----------------------------------------------------------------------
|
|
|
|
constant GenericHubInputPorts = 10
|
|
constant GenericHubOutputPorts = 10
|
|
constant GenericHubInputBuffers = 10
|
|
constant GenericHubOutputBuffers = 10
|