From 50c67ecec4895f65ba684e4b46b4b70980a5be6a Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 4 Jan 2015 11:36:42 +0200 Subject: Add int_size option for generator. This allows overriding the integer field types to e.g. uint8_t for saving RAM. Update issue 139 Status: FixedInGit --- tests/intsizes/SConscript | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/intsizes/SConscript (limited to 'tests/intsizes/SConscript') diff --git a/tests/intsizes/SConscript b/tests/intsizes/SConscript new file mode 100644 index 00000000..a90680bc --- /dev/null +++ b/tests/intsizes/SConscript @@ -0,0 +1,12 @@ +# Test that the int_size option in .proto works. + +Import('env') + +env.NanopbProto('intsizes') + +p = env.Program(["intsizes_unittests.c", + "intsizes.pb.c", + "$COMMON/pb_encode.o", + "$COMMON/pb_decode.o", + "$COMMON/pb_common.o"]) +env.RunTest(p) -- cgit 1.2.3-korg