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
This commit is contained in:
12
tests/intsizes/SConscript
Normal file
12
tests/intsizes/SConscript
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user