[ 
https://issues.apache.org/jira/browse/MYNEWT-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877769#comment-15877769
 ] 

Simon Ratner commented on MYNEWT-560:
-------------------------------------

My expectation was for the code to either recognise a valid fcb entry with bad 
magic, skip it, and initialise the next sector with default config values, or 
consider the entire fcb flash area to be invalid and overwrite the first sector 
with default values. Either semantics would be ok, but i don't think I want to 
ever load config values from an fcb that has the wrong magic or version number.

> CONFIG_FCB_MAGIC syscfg ignored
> -------------------------------
>
>                 Key: MYNEWT-560
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-560
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Sysinit
>    Affects Versions: v1_0_0_beta1, v1_0_0_beta2
>            Reporter: Simon Ratner
>             Fix For: v1_0_0_rel
>
>
> CONFIG_FCB_MAGIC sysinit value in sys/config pkg is ignored, instead the 
> magic is always `0xc0ffeeee` (not that I don't like `0xc0ffeeee`, but 
> sometimes I just feel like something else...)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to