This is an automated email from the ASF dual-hosted git repository. vipulrahane pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new db685bc mcu/nrf5340: Pins should be checked for -1 new 38a0a98 Merge pull request #2532 from vrahane/null_check_pins_mcu_nrf5340 db685bc is described below commit db685bcd24c1b37adacc8cbbd180389044cb8b87 Author: Vipul Rahane <vi...@proxy.com> AuthorDate: Mon Mar 15 16:37:29 2021 -0700 mcu/nrf5340: Pins should be checked for -1 - Pins hsould be checked for -1 for invalidity --- hw/mcu/nordic/nrf5340/syscfg.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/mcu/nordic/nrf5340/syscfg.yml b/hw/mcu/nordic/nrf5340/syscfg.yml index cf5803c..7d89455 100644 --- a/hw/mcu/nordic/nrf5340/syscfg.yml +++ b/hw/mcu/nordic/nrf5340/syscfg.yml @@ -413,7 +413,7 @@ syscfg.vals: OS_TICKS_PER_SEC: 128 syscfg.restrictions: - - "!UART_0 || (UART_0_PIN_TX && UART_0_PIN_RX)" - - "!UART_1 || (UART_1_PIN_TX && UART_1_PIN_RX)" - - "!UART_2 || (UART_2_PIN_TX && UART_2_PIN_RX)" - - "!UART_3 || (UART_3_PIN_TX && UART_3_PIN_RX)" + - "!UART_0 || (UART_0_PIN_TX != -1 && UART_0_PIN_RX != -1)" + - "!UART_1 || (UART_1_PIN_TX != -1 && UART_1_PIN_RX != -1)" + - "!UART_2 || (UART_2_PIN_TX != -1 && UART_2_PIN_RX != -1)" + - "!UART_3 || (UART_3_PIN_TX != -1 && UART_3_PIN_RX != -1)"