You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/02/27 11:08:03 UTC
[GitHub] andrzej-kaczmarek opened a new pull request #272: Fix expressions
in settings restrictions
andrzej-kaczmarek opened a new pull request #272: Fix expressions in settings restrictions
URL: https://github.com/apache/mynewt-newt/pull/272
This patch makes following restrictions possible:
```
UART_1:
description: 'Enable nRF52xxx UART1'
value: 0
restrictions:
- 'MCU_TARGET == "nRF52840"'
```
Currently this would be evaluated without translation thus `UART_1` value
does not matter here (as in package restriction). Instead, we want to
make this translated into `(MCU_TARGET == "nRF52840") || (!UART_1)`
which is what this patch does.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services