X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fmigration.rst;h=cd5911f57141637ca0e3c3e3502441049803f61a;hb=be903082acfc24ee523314e323e7c6c13e53c9f3;hp=d5ded6431d63c76b3bab2bbdc483d300c70740bb;hpb=8d12fecc7e4fb6899eb0d013abe0d6a5e03447ce;p=apps%2Flow-level-can-service.git diff --git a/docs/migration.rst b/docs/migration.rst index d5ded64..cd5911f 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -11,7 +11,25 @@ are included, in order to make it easier to find this document. .. contents :: -Nanopb-0.3.2 (2015-01-xx) +Nanopb-0.3.5 (2016-02-13) +========================= + +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) ========================= Add support for OneOfs