- Runtime "configuration" system naming
Re: Runtime "configuration" system naming
toggle quoted messageShow quoted text
I like settings. Do not thing it is long, sett just makes it ugly.
From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...]
On Behalf Of Cufi, Carles
Sent: Tuesday, March 27, 2018 11:41 AM
To: Erwan Gouriou <erwan.gouriou@...>; Jukka Rissanen <jukka.rissanen@...>
Subject: Re: [Zephyr-devel] Runtime "configuration" system naming
The advantage of “settings” is that it matches what other people mean by those:
The disadvantage is that it is a bit long
J “sett_” perhaps as a prefix?
I actually like "settings",
I find it carries well the idea of run time configuration
On 27 March 2018 at 17:21, Jukka Rissanen <jukka.rissanen@...> wrote:
as this seems to be about configuration settings, why not
or something like that. Why do we need to mention the serialization at
all in the function names, that sounds like implementation detail.
On Tue, 2018-03-27 at 15:29 +0200, Erwan Gouriou wrote:
> Hi Carles,
> Serialization is also sometime called marshalling, so an alternative
> could be "marshal"/"cfg_marshal"/"rtcfg_marshal"
> On 27 March 2018 at 14:51, Cufi, Carles <Carles.Cufi@...>
> > Hi all,
> > Andrzej from Nordic has just ported the *run-time* configuration
> > system from Mynewt into Zephyr .
> > This is essentially a system-wide way of loading and storing all
> > state from and to non-volatile memory (i.e. flash) in a completely
> > centralized way.
> > Since it serializes the data before storing it (and deserializes it
> > after loading), and we already use the word "config" for *compile-
> > time* configuration, we have currently renamed it to "s11n" (for
> > serialization).
> > But some people find this name confusing, so I am now addressing a
> > wider audience for feedback.
> > The currently proposed names are:
> > * s11n
> > * syscfg
> > Any preferences or alternatives?
> > Thanks,
> > Carles
> > 
> > _______________________________________________
> > Zephyr-devel mailing list
> > Zephyr-devel@...
> Zephyr-devel mailing list
Join email@example.com to automatically receive all group messages.