Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/nanopb: simplify setup procedure #53

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! tests/pkg_nanopb: initial commit
  • Loading branch information
benpicco committed Sep 9, 2019
commit 15c1685112f6b2cc15a9c83dd13a3c2af65df4e2
19 changes: 0 additions & 19 deletions tests/pkg_nanopb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,3 @@ The library provides a Google Protocol Buffers encoder / decoder.
Install the protobuf compiler and the protobuf python bindings.
On Debian/ubuntu, the corresponding packages are `protobuf-compiler` and
`python-protobuf`. On Arch, it is `protobuf` and `python-protobuf`.

You'll also need the nanopb protoc generator plugin.

Checkout the matching nanopb repository:

$ git clone https://github.com/nanopb/nanopb nanopb-0.3.9.3
$ cd nanopb/generator/proto

Take note of the path to `nanopb/generator`.

The build system needs to know the location of the generator plugin.
Assuming nanopb has been checked out into `~/src/nanopb`, you'll need to prefix
all make invocations with
```PROTOC_GEN_NANOPB=~/src/nanopb/generator/protoc-gen-nanopb```.

E.g., to compile this test:

PROTOC_GEN_NANOPB=~/src/nanopb/generator/protoc-gen-nanopb make \
clean all -j4