[riot-devel] bitfeilds

Hauke Petersen hauke.petersen at fu-berlin.de
Thu Oct 27 15:10:36 CEST 2016


Sorry, saw Olegs mail only after I send mine...

Cheers,
Hauke

On 27.10.2016 15:06, Martine Lenders wrote:
> Hi,
>
> 2016-10-27 15:01 GMT+02:00 Oleg Hahm <oliver.hahm at inria.fr 
> <mailto: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
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel



More information about the devel mailing list