summaryrefslogtreecommitdiffstats
path: root/docs/migration.rst
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-01-27 18:59:02 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-01-27 18:59:02 +0200
commit2a851f039ad5252a32e3b82d15ce5a3bbb8a0b21 (patch)
tree89f159d015fa40a7029a86fa4e325ea1b9942dee /docs/migration.rst
parentfa45589d5736d2ce7f37ddd03daad2c638e38848 (diff)
Add note to migration doc
Diffstat (limited to 'docs/migration.rst')
-rw-r--r--docs/migration.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/migration.rst b/docs/migration.rst
index ac92db88..26bd25dd 100644
--- a/docs/migration.rst
+++ b/docs/migration.rst
@@ -11,6 +11,24 @@ are included, in order to make it easier to find this document.
.. contents ::
+Nanopb-0.3.5 (2016-xx-xx)
+=========================
+
+Add support for platforms without uint8_t
+-----------------------------------------
+**Rationale:** Some platforms cannot access 8-bit sized values directly, and
+do not define *uint8_t*. Nanopb previously didn't support these platforms.
+
+**Changes:** References to *uint8_t* were replaced with several alternatives,
+one of them being a new *pb_byte_t* typedef. This in turn uses *uint_least8_t*
+which means the smallest available type.
+
+**Required actions:** If your platform does not have a standards-compliant
+*stdint.h*, it may lack the definition for *[u]int_least8_t*. This must be
+added manually, example can be found in *extra/pb_syshdr.h*.
+
+**Error indications:** Compiler error: "unknown type name 'uint_least8_t'".
+
Nanopb-0.3.2 (2015-01-24)
=========================