diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-07-06 13:49:47 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-07-06 13:49:47 +0300 |
commit | 6e9e5329278b04a8e76d63f06fed2f3bfa80e2f8 (patch) | |
tree | 41a65069eaea619646941527e655023b298060f3 /generator | |
parent | 68dd0171bc51e871a522d21a40c35c08de0fb573 (diff) |
Document the .options file usage.
Also add note about the 'packed' message option being incompatible
with CPUs that do not support unaligned access.
Update issue 12
Status: FixedInGit
Update issue 77
Status: FixedInGit
Diffstat (limited to 'generator')
-rw-r--r-- | generator/nanopb.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generator/nanopb.proto b/generator/nanopb.proto index 7b73c7b3..fe564b5c 100644 --- a/generator/nanopb.proto +++ b/generator/nanopb.proto @@ -33,6 +33,8 @@ message NanoPBOptions { optional bool long_names = 4 [default = true]; // Add 'packed' attribute to generated structs. + // Note: this cannot be used on CPUs that break on unaligned + // accesses to variables. optional bool packed_struct = 5 [default = false]; } |