[riot-devel] bitfeilds

Oleg Hahm oliver.hahm at inria.fr
Thu Oct 27 15:01:09 CEST 2016


Hi Martine!

On Thu, Oct 27, 2016 at 01:35:21PM +0200, Martine Lenders wrote:
> >> As example I was able to save several 100 bytes of ROM when removing the
> >> named bitfield use from the samr21s peripheral drivers.
> >
> >
> I don't know about your specific code, but I was able to show, that a
> bitfield actually *saves* ROM [1].

In your example the variables were not volatile.

Cheers,
Oleg
-- 
printk("Illegal format on cdrom.  Pester manufacturer.\n"); 
        linux-2.2.16/fs/isofs/inode.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20161027/92e13a6f/attachment.sig>


More information about the devel mailing list