This allows overriding the integer field types to e.g. uint8_t for saving RAM. Update issue 139 Status: FixedInGit
13 lines
305 B
Python
13 lines
305 B
Python
# 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)
|