[ https://issues.apache.org/jira/browse/MYNEWT-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886060#comment-15886060 ]
Sterling Hughes commented on MYNEWT-543: ---------------------------------------- +1 - I agree. I think it's confusing that these files are auto-generated by newt target set and manually editable by users as well. We should either say "don't edit manually" (with a big comment at the top), or cleanly manage the two. IMO - we should say don't edit manually with a big comment at the top. > 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)