Wanda Chiu created MYNEWT-640:
---------------------------------
Summary: Add an newt target "append" feature to change or append
target variable values
Key: MYNEWT-640
URL: https://issues.apache.org/jira/browse/MYNEWT-640
Project: Mynewt
Issue Type: Improvement
Affects Versions: v1_0_0_beta2
Reporter: Wanda Chiu
Priority: Minor
This is a feature enhancement request (for post 1.0) to support an "append"
feature that allows a user to change or append to current target variable
values:
The *newt target <target-name> set* sets a variable value with the value
specified in the command. It overrides the variable's previous values. For
example, the eventq_nordic target has the follow syscfg.yml content:
{code}
### Package: targets/eventq_nordic
syscfg.vals:
CONFIG_NEWTMGR: 1
LOG_NEWTMGR: 1
SHELL_TASK: 1
{code}
Run *newt target set eventq_nordic syscfg=LOG_NEWTMGR=0* and the syscfg.yml
file changes to:
{code}
### Package: targets/eventq_nordic
syscfg.vals:
LOG_NEWTMGR: 0
{code}
Currently users can't append or change specific values for a variable and
without overriding all values. This support would be useful for target
variables other than the *syscfg* variable, e.g *cflags*, *lflags*, etc
(See MYNEWT-543)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)