summaryrefslogtreecommitdiffstats
path: root/tests/cyclic_messages/SConscript
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-28 21:23:28 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-08-28 21:23:28 +0300
commitdf7234fd8b8779c9973b19b5a8fb22ee2e903982 (patch)
treef1a67e4c255370c850227f9ea3a44154da72e996 /tests/cyclic_messages/SConscript
parent9e866b485319e2ede206b4eafa0b6235be0c4a38 (diff)
Fix cyclic messages support in generator. Beginnings of test.
Update issue 130 Status: Started
Diffstat (limited to 'tests/cyclic_messages/SConscript')
-rw-r--r--tests/cyclic_messages/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cyclic_messages/SConscript b/tests/cyclic_messages/SConscript
new file mode 100644
index 00000000..c782001c
--- /dev/null
+++ b/tests/cyclic_messages/SConscript
@@ -0,0 +1,11 @@
+Import("env")
+
+# Encode cyclic messages with callback fields
+
+c = Copy("$TARGET", "$SOURCE")
+env.Command("cyclic_callback.proto", "cyclic.proto", c)
+env.NanopbProto(["cyclic_callback", "cyclic_callback.options"])
+
+enc_callback = env.Program(["encode_cyclic_callback.c", "cyclic_callback.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_common.o"])
+
+