> On Jan 13, 2017, at 11:31 AM, Christopher Collins <ccoll...@apache.org> wrote:
> 
> From your email, it looks like the target's syscfg.yml is redefining
> existing settings, which should cause newt to raise an error.  I'll look
> into this error reporting issue, but in the meantime, I would change
> those UART pin overrides to use the syscfg.vals mapping rather than
> syscfg.defs.



Here's the entire syscfg.yml file:

### 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

    UART_0_PIN_TX:
        description: 'New Pin Assignment'
        value: 23
    UART_0_PIN_RX:
        description: 'New Pin Assignment'
        value: 24

So I was trying to override them in the syscfg.vals section. And that is what 
fails. the old value from the package's syscfg.yml is removed, but the new 
value isn't substituted in its place.

Thanks!
dg
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin 
<http://linkedin.com/in/davidgsimmons> • Twitter 
<http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.
* If you cannot read the PGP.sig attachment, please go to
 * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
 * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!

There are only 2 hard things in computer science: Cache invalidation, naming 
things, and off-by-one errors.


Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to