-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathinstances.fpp
More file actions
104 lines (77 loc) · 3.2 KB
/
Copy pathinstances.fpp
File metadata and controls
104 lines (77 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
module Ref {
# ----------------------------------------------------------------------
# Base ID Convention
# ----------------------------------------------------------------------
#
# All Base IDs follow the 8-digit hex format: 0xDSSCCxxx
#
# Where:
# D = Deployment digit (1-F)
# SS = Subtopology digits (00 for main topology, 01-FF)
# CC = Component digits (00-FF)
# xxx = Reserved for internal component items (events, commands, telemetry)
#
# ----------------------------------------------------------------------
# Defaults
# ----------------------------------------------------------------------
module Default {
constant QUEUE_SIZE = 10
constant STACK_SIZE = 64 * 1024
}
# ----------------------------------------------------------------------
# Active component instances
# ----------------------------------------------------------------------
instance blockDrv: Ref.BlockDriver base id 0x10000000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 47
instance rateGroup1Comp: Svc.ActiveRateGroup base id 0x10001000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 43
instance rateGroup2Comp: Svc.ActiveRateGroup base id 0x10002000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 42
instance rateGroup3Comp: Svc.ActiveRateGroup base id 0x10003000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 41
instance pingRcvr: Ref.PingReceiver base id 0x10004000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 23
instance typeDemo: Ref.TypeDemo base id 0x10005000
instance cmdSeq: Svc.CmdSequencer base id 0x10006000 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 20
instance dpDemo: Ref.DpDemo base id 0x0A10 \
queue size Default.QUEUE_SIZE \
stack size Default.STACK_SIZE \
priority 19
# ----------------------------------------------------------------------
# Queued component instances
# ----------------------------------------------------------------------
instance sendBuffComp: Ref.SendBuff base id 0x10010000 \
queue size Default.QUEUE_SIZE
instance SG1: Ref.SignalGen base id 0x10011000 \
queue size Default.QUEUE_SIZE
instance SG2: Ref.SignalGen base id 0x10012000 \
queue size Default.QUEUE_SIZE
instance SG3: Ref.SignalGen base id 0x10013000 \
queue size Default.QUEUE_SIZE
instance SG4: Ref.SignalGen base id 0x10014000 \
queue size Default.QUEUE_SIZE
instance SG5: Ref.SignalGen base id 0x10015000 \
queue size Default.QUEUE_SIZE
# ----------------------------------------------------------------------
# Passive component instances
# ----------------------------------------------------------------------
instance posixTime: Svc.PosixTime base id 0x10020000
instance rateGroupDriverComp: Svc.RateGroupDriver base id 0x10021000
instance recvBuffComp: Ref.RecvBuff base id 0x10022000
instance systemResources: Svc.SystemResources base id 0x10023000
instance linuxTimer: Svc.LinuxTimer base id 0x10024000
instance comDriver: Drv.TcpClient base id 0x10025000
}