[riot-devel] bitfeilds

Martine Lenders mail at martine-lenders.eu
Thu Oct 27 15:06:55 CEST 2016


Hi,

2016-10-27 15:01 GMT+02:00 Oleg Hahm <oliver.hahm at inria.fr>:

> 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.
>

Right. That might be a factor ^^".

Cheers,
Martine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20161027/4ff82bb6/attachment-0001.html>


More information about the devel mailing list