aakash-sahai / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Add generator option for packed structures #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On platforms with small memory, it is useful to pack the nanopb generated 
structures. The GCC option -fpack-struct would disturb also 3rd party code.

Add generator option (nanopb).packed_struct that will place the `pb_packed` 
macro after each generated structure.

Original issue reported on code.google.com by Petteri.Aimonen on 10 Jan 2013 at 7:29

GoogleCodeExporter commented 9 years ago
This issue was updated by revision d2c1604d6d23.

Original comment by Petteri.Aimonen on 10 Jan 2013 at 3:37

GoogleCodeExporter commented 9 years ago
Fix released in nanopb-0.1.9.

Original comment by Petteri.Aimonen on 13 Feb 2013 at 7:19