aboutsummaryrefslogtreecommitdiff
path: root/README.android
diff options
context:
space:
mode:
Diffstat (limited to 'README.android')
-rw-r--r--README.android12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.android b/README.android
new file mode 100644
index 0000000..2a2d518
--- /dev/null
+++ b/README.android
@@ -0,0 +1,12 @@
+URL: http://koti.kapsi.fi/jpa/nanopb/
+Version: 2.8.0
+License: zlib
+Description: "nanopb-c: A plugin for Google Protobuf compiler that generates C code"
+
+To use with Android modify Android.mk adding .proto files to
+LOCAL_SRC_FILES and set LOCAL_PROTOC_OPTIMIZE_TYPE:
+
+ LOCAL_SRC_FILES += simple.proto
+ LOCAL_PROTOC_OPTIMIZE_TYPE := nanopb-c
+
+Then look at http://koti.kapsi.fi/jpa/nanopb/ Documentation for how to use nanopb-c.