Page 1 of 1

Component.mk executing windows command

Posted: Wed Jun 05, 2019 7:10 pm
by nickhaman
What is the correct format to execute an external command in the component.mk file?

I would like to call Nanopb to recompile the protobuf files before compilation. I've tried:

cmd //C /NanoPb/generator-bin/protoc voltage_logging.proto --nanopb_out=.

but I get a missing separator error.