Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2019-12-16 13:14:16 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2019-12-16 13:14:16 +0300
commit511b708290fb1458a35fb44dfbdcc1103c664b72 (patch)
tree985407fcfda15fa63d9f2c552cb65e6269f4c4f2 /docs
parentb20bc5776509776cb0039562bc068e25eadca5eb (diff)
Add PB_CONVERT_DOUBLE_FLOAT setting to convert doubles on AVR.
This is easier to use than the old method of separate conversion functions. More importantly, it should allow running the same tests on AVR target.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index 89d1f0f..39bc611 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -59,6 +59,8 @@ PB_ENCODE_ARRAYS_UNPACKED Don't encode scalar arrays as packed.
This is only to be used when the decoder on the
receiving side cannot process packed scalar
arrays. Such example is older protobuf.js.
+PB_CONVERT_DOUBLE_FLOAT Convert doubles to floats for platforms that do
+ not support 64-bit doubles. Mainly AVR.
============================ ================================================
The PB_MAX_REQUIRED_FIELDS, PB_FIELD_16BIT and PB_FIELD_32BIT settings allow