machinekit / machinetalk-protobuf

Protobuf declarations for machinekit messages
MIT License
10 stars 11 forks source link

message.proto: do not export mkwrapper messages to nanopb/RT #10

Closed mhaberler closed 9 years ago

mhaberler commented 9 years ago

the [(nanopb).type = FT_IGNORE] option tells the nanopb generator to ignore this field, meaning no descriptor references are added to the generated C code.

This is good practice for messages which are never used in RT. Otherwise, the corresponding .c file needs to linked into the pbmsgs module (see src/machinetalk/msgcomponents/Submakefile) and the corresponding extern reference exported in pbmsgs.c .

This also removes "missing symbol" messages during a kthreads build.