As far as I can tell interactive shell doesn’t work with probe-rs attach
. Looking into it some more. At least you get logging!
Only other thing, for anyone else reading this, is update the overlay to set UART1 to the UART0 pins:
&uart0 {
status = "disabled";
}
&uart1 {
pinctrl-0 = <&uart1_default_alt>;
pinctrl-1 = <&uart1_sleep_alt>;
};
&pinctrl {
uart1_default_alt: uart1_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 11)>,
<NRF_PSEL(UART_RX, 0, 10)>;
};
};
uart1_sleep_alt: uart1_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 11)>,
<NRF_PSEL(UART_RX, 0, 10)>;
low-power-enable;
};
};
};
That way you can use the built-in USB-UART with Nordics trace tool.