You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2017/08/18 22:56:00 UTC
[jira] [Commented] (MYNEWT-544) Cannot over-ride UART Pins in sys
cfg.yml
[ https://issues.apache.org/jira/browse/MYNEWT-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133741#comment-16133741 ]
Marko Kiiskila commented on MYNEWT-544:
---------------------------------------
This should work. Here's from a target I'm using:
{code:none}
newt target show hci_bmd300
...
syscfg=UART_0_PIN_CTS=5:UART_0_PIN_RTS=7
newt target config show hci_bmd300
...
* Setting: UART_0_PIN_CTS
* Description: CTS pin for UART0
* Value: 5
* Overridden: targets/hci_bmd300, default=7
* Setting: UART_0_PIN_RTS
* Description: RTS pin for UART0
* Value: 7
* Overridden: targets/hci_bmd300, default=5
{code}
And this is how it looks on my target's syscfg.yml:
{code:none}
syscfg.vals:
UART_0_PIN_RTS: 7
UART_0_PIN_CTS: 5
{code}
> Cannot over-ride UART Pins in sys cfg.yml
> -----------------------------------------
>
> Key: MYNEWT-544
> URL: https://issues.apache.org/jira/browse/MYNEWT-544
> Project: Mynewt
> Issue Type: Bug
> Security Level: Public(Viewable by anyone)
> Components: Drivers
> Affects Versions: v1_0_0_beta1
> Environment: Mac OS Sierra, latest develop branch of newt, mynewt-core
> Reporter: David G. Simmons
>
> From my project's syscfg.yml:
> UART_0_PIN_TX:
> description: 'New Pin Assignment'
> value: 23
> UART_0_PIN_RX:
> description: 'New Pin Assignment'
> value: 24
> Results in newt target config show air_q:
> * Setting: UART_0_PIN_RX
> * Description: TBD
> * Value:
> * Overridden: targets/air_q, default=5
> * Setting: UART_0_PIN_TX
> * Description: TBD
> * Value:
> * Overridden: targets/air_q, default=6
> So it picks up that the value was overridden, but it doesn't pick up the actual value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)