apache / mynewt-newt

An OS to build, deploy and securely manage billions of devices
https://mynewt.apache.org/
Apache License 2.0
117 stars 96 forks source link

Ambiguous sysconfig configuration not detected #565

Closed sjanc closed 2 months ago

sjanc commented 4 months ago

newt should warn (error) on ambiguous configurations, eg:

syscfg.vals.FOO: BAZ: 5

syscfg.vals.BAR: BAZ: 10

currently if both FOO and BAR are set we get BAZ randomly be assigned 5 or 10. This type of ambiguity shall result in error.