UART works fine as long it is configured on port 0:
#define RX_PIN_NUMBER 8 #define TX_PIN_NUMBER 6 #define CTS_PIN_NUMBER 7 #define RTS_PIN_NUMBER 5
But if it is configured to port 1, it does not work:
#define RX_PIN_NUMBER NRF_GPIO_PIN_MAP (1,8) #define TX_PIN_NUMBER NRF_GPIO_PIN_MAP (1,6) #define CTS_PIN_NUMBER NRF_GPIO_PIN_MAP (1,7) #define RTS_PIN_NUMBER NRF_GPIO_PIN_MAP (1,5)
and compiler reports a warning in serial_uart.c, serial_uart_init():
left shift count >= width of type [-Wshift-count-overflow]
I think that this method handles port 1 pins incorrectly. Or am I missing something?
[NRF SDK 15.2, Mesh SDK 2.2, SD140 6.1]