Skip to content

Commit 84d8e66

Browse files
committed
Override min number of rate group ports
1 parent 3d00b38 commit 84d8e66

File tree

3 files changed

+72
-1
lines changed

3 files changed

+72
-1
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# ======================================================================
2+
# AcConstants.fpp
3+
# F Prime configuration constants
4+
# ======================================================================
5+
6+
@ Number of rate group member output ports for ActiveRateGroup
7+
constant ActiveRateGroupOutputPorts = 15
8+
9+
@ Number of rate group member output ports for PassiveRateGroup
10+
constant PassiveRateGroupOutputPorts = 10
11+
12+
@ Used to drive rate groups
13+
constant RateGroupDriverRateGroupPorts = 3
14+
15+
@ Used for command and registration ports
16+
constant CmdDispatcherComponentCommandPorts = 30
17+
18+
@ Used for uplink/sequencer buffer/response ports
19+
constant CmdDispatcherSequencePorts = 5
20+
21+
@ Used for dispatching sequences to command sequencers
22+
constant SeqDispatcherSequencerPorts = 2
23+
24+
@ Used for sizing the command splitter input arrays
25+
constant CmdSplitterPorts = CmdDispatcherSequencePorts
26+
27+
@ Number of static memory allocations
28+
constant StaticMemoryAllocations = 4
29+
30+
@ Used to ping active components
31+
constant HealthPingPorts = 25
32+
33+
@ Used for broadcasting completed file downlinks
34+
constant FileDownCompletePorts = 1
35+
36+
@ Used for number of Fw::Com type ports supported by Svc::ComQueue
37+
constant ComQueueComPorts = 2
38+
39+
@ Used for number of Fw::Buffer type ports supported by Svc::ComQueue
40+
constant ComQueueBufferPorts = 1
41+
42+
@ Used for maximum number of connected buffer repeater consumers
43+
constant BufferRepeaterOutputPorts = 10
44+
45+
@ Size of port array for DpManager
46+
constant DpManagerNumPorts = 5
47+
48+
@ Size of processing port array for DpWriter
49+
constant DpWriterNumProcPorts = 5
50+
51+
@ The size of a file name string
52+
constant FileNameStringSize = 200
53+
54+
@ The size of an assert text string
55+
constant FwAssertTextSize = 256
56+
57+
@ The size of a file name in an AssertFatalAdapter event
58+
@ Note: File names in assertion failures are also truncated by
59+
@ the constants FW_ASSERT_TEXT_SIZE and FW_LOG_STRING_MAX_SIZE, set
60+
@ in FpConfig.h.
61+
constant AssertFatalAdapterEventFileSize = FileNameStringSize
62+
63+
# ----------------------------------------------------------------------
64+
# Hub connections. Connections on all deployments should mirror these settings.
65+
# ----------------------------------------------------------------------
66+
67+
constant GenericHubInputPorts = 10
68+
constant GenericHubOutputPorts = 10
69+
constant GenericHubInputBuffers = 10
70+
constant GenericHubOutputBuffers = 10

FprimeZephyrReference/project/config/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
####
66
register_fprime_config(
77
CONFIGURATION_OVERRIDES
8+
"${CMAKE_CURRENT_LIST_DIR}/AcConstants.fpp"
89
"${CMAKE_CURRENT_LIST_DIR}/CdhCoreConfig.fpp"
910
"${CMAKE_CURRENT_LIST_DIR}/CdhCoreTlmConfig.fpp"
1011
"${CMAKE_CURRENT_LIST_DIR}/CdhCoreFatalHandlerConfig.fpp"

FprimeZephyrReference/project/config/TlmPacketizerCfg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <Fw/FPrimeBasicTypes.hpp>
1717

1818
namespace Svc {
19-
static const FwChanIdType MAX_PACKETIZER_PACKETS = 8;
19+
static const FwChanIdType MAX_PACKETIZER_PACKETS = 9;
2020
static const FwChanIdType TLMPACKETIZER_NUM_TLM_HASH_SLOTS =
2121
15; // !< Number of slots in the hash table.
2222
// Works best when set to about twice the number of components producing telemetry

0 commit comments

Comments
 (0)