You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Wanda Chiu (JIRA)" <ji...@apache.org> on 2017/06/07 21:00:21 UTC

[jira] [Closed] (MYNEWT-640) Add an newt target "amend" feature to amend or delete target variable values

     [ https://issues.apache.org/jira/browse/MYNEWT-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wanda Chiu closed MYNEWT-640.
-----------------------------

> Add an newt target "amend"  feature to amend or delete target variable values
> -----------------------------------------------------------------------------
>
>                 Key: MYNEWT-640
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-640
>             Project: Mynewt
>          Issue Type: Improvement
>      Security Level: Public(Viewable by anyone) 
>    Affects Versions: v1_0_0_beta2
>            Reporter: Wanda Chiu
>            Assignee: Wanda Chiu
>            Priority: Minor
>             Fix For: v1_1_0_rel
>
>
> 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)