Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nanopb
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
le
nanopb
Commits
ccf25a92
Commit
ccf25a92
authored
6 years ago
by
Petteri Aimonen
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
c29ca83f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+20
-0
20 additions, 0 deletions
README.md
with
20 additions
and
0 deletions
README.md
+
20
−
0
View file @
ccf25a92
...
...
@@ -69,3 +69,23 @@ Note: Mac OS X by default aliases 'clang' as 'gcc', while not actually
supporting the same command line options as gcc does. To run tests on
Mac OS X, use: "scons CC=clang CXX=clang". Same way can be used to run
tests with different compilers on any platform.
Build systems and integration
-----------------------------
Nanopb C code itself is designed to be portable and easy to build
on any platform. Often the bigger hurdle is running the generator which
takes in the
`.proto`
files and outputs
`.pb.c`
definitions.
There exist build rules for several systems:
*
**Makefiles**
:
`extra/nanopb.mk`
, see
`examples/simple`
*
**CMake**
:
`extra/FindNanopb.cmake`
, see
`examples/cmake`
*
**SCons**
:
`tests/site_scons`
(generator only)
*
**Bazel**
:
`BUILD`
in source root
*
**PlatformIO**
: https://platformio.org/lib/show/431/Nanopb
And also integration to platform interfaces:
*
**Arduino**
: http://platformio.org/lib/show/1385/nanopb-arduino
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment