Skip to content

Commit

Permalink
Add fpp-to-json utilities (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosa11aei authored Aug 1, 2024
1 parent 339d648 commit a22b5f4
Show file tree
Hide file tree
Showing 14 changed files with 1,706 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
abspath
abstractmethod
agg
annotatable
api
appendable
argparse
Expand All @@ -19,21 +20,30 @@ autoescape
autosectionlabel
backport
baremetal
binop
Binops
buf
bytearray
calcsize
changelog
chdir
classmethod
elts
Endian
endian
Endianness
endianness
expr
idx
lestarch
LGTM
lgtm
Linux
localhost
preannot
preannotations
postannot
postannotations
Prm
prm
Serializables
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ ignore$
^\.github/
pyproject.toml
setup.py
\.json$
Empty file.
Empty file.
20 changes: 20 additions & 0 deletions src/fprime/fpp/utils/fpp_to_json/example_visitors/example.fpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module A {
constant B = 1
constant C = 0x44
constant D = "hello"

instance E: Component.A base id 0x4444
instance F: Component.B base id 0x5555 \
queue size 10

topology G {
import I

instance E
instance F

connections H {
E.pout -> F.pin
}
}
}
Loading

0 comments on commit a22b5f4

Please sign in to comment.