add script to generate protobuf files for arduino