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

Wanda Chiu commented on MYNEWT-543:
-----------------------------------

Hi david,
I agree with your usage pattern and understand that the syscfg works 
differently than the other variables because of the multiple configuration 
settings. Originally, I had a PR with changes that would allow user to set 
syscfg variable with settings and not erase the other setting value. We ( 
Chris, Aditi, and I) discuss this and decided  that it might be useful to 
extend this functionality for other variables (cflags etc) with an "append" 
enhancement feature (MYNEWT-640) for post release 1.0 since we are so close to 
the release. Perhaps we can re-open the PR to get this fix in for now? 


> setting sys cfg values via newt erases old settings
> ---------------------------------------------------
>
>                 Key: MYNEWT-543
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-543
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Newt
>    Affects Versions: v1_0_0_beta1
>         Environment: Mac OS X
>            Reporter: David G. Simmons
>            Assignee: Wanda Chiu
>            Priority: Minor
>             Fix For: v1_0_0_rel
>
>
> DSimmons-Pro:myproj dsimmons$ cat targets/air_q/syscfg.yml
> \### Package: targets/air_q
> syscfg.vals:
>     OPENOCD_DEBUG: 1
>     \# Enable the shell task.
>     SHELL_TASK: 1
>     STATS_CLI: 1
>     CONSOLE_TICKS: 1
>     CONSOLE_PROMPT: 1
> DSimmons-Pro:myproj dsimmons$ newt target set air_q  syscfg=OPENOCD_DEBUG=0
> Target targets/air_q successfully set target.syscfg to OPENOCD_DEBUG=0
> DSimmons-Pro:myproj dsimmons$ cat targets/air_q/syscfg.yml
> \### Package: targets/air_q
> syscfg.vals:
>     OPENOCD_DEBUG: 0
> DSimmons-Pro:myproj dsimmons$



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

Reply via email to